Tabs content showing all the contents data.

im using tabs component to show sections inside a component.


im using like this.

and had asked query about selected index before https://click.pstmrk.it/2s/www.syncfusion.com%2Fforums%2F172236%2Fneed-defaulttab-functionality/4IdcMSkN/c4Jk/F2FJRcnz5P,

if i use this selectedIndex property to load 2nd section initially, its working fine, but when i try to add the tabs content by dynamically, the selected index showing all tabs data(i.e lets say first tab having 2 images and second one having one image. if i try to add one more image on second section, by child component and this tabs will render at second tab but its showing all 4 images. Once i switch between  tabs its all arranging properly.) 


1 Reply

SK Satheesh Kumar Balasubramanian Syncfusion Team January 31, 2022 12:20 PM UTC

Hi Anand, 
  
Before proceeding further with your query, we need some more details about the issue you are facing. Could you please get back to us with the following details to validate further and provide the solution earlier? 
  • How do you render the tab item dynamically with code snippets?
  • Share the tabContent1, onTabSelection and onRemoveTab method related code snippets
  • Share issue depicting video

Regards,
Satheesh Kumar B


Loader.
Up arrow icon