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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

show default tab items in Tab control

Thread ID:





140643 Oct 30,2018 11:51 AM UTC Oct 31,2018 07:34 AM UTC Angular - EJ 2 1
Tags: Tab
Asked On October 30, 2018 11:51 AM UTC

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.  

Christopher Issac Sunder K [Syncfusion]
Replied On 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. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon