We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

show default tab items in Tab control

I have a tab control, which is working fine. in the tab control, I have four items 

 <e-tabitem [header]='headerText[0]' [content]="content0"></e-tabitem>
 <e-tabitem [header]='headerText[1]' [content]="content1"></e-tabitem>
<e-tabitem [header]='headerText[2]' [content]="content2"></e-tabitem>
<e-tabitem [header]='headerText[3]' [content]="content3"></e-tabitem>

so I need to show the content2 when the page loads. rest all should be visible, but content2 should be opened and activated tab item.  


1 Reply

CI Christopher Issac Sunder K Syncfusion Team October 31, 2018 07:34 AM UTC

Hi Sarvana, 

Thank you for contacting Syncfusion support. 

To show the content2 Tab as be opened and activated tab item, we need to specify this item in the selectedItem property, 


Please let us know if you need any further assistance. 

Thanks, 
Christo

Loader.
Live Chat Icon For mobile
Up arrow icon