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

Tab does not render when using ng-template

Thread ID:

Created:

Updated:

Platform:

Replies:

145273 Jun 14,2019 02:21 PM UTC Jun 26,2019 02:09 PM UTC Angular - EJ 2 4
loading
Tags: Tab
Adriano Nascimento
Asked On June 14, 2019 02:21 PM UTC


Hello
when using the tab creating a template it does not finish the rendering and it does not work. I did an example test.



Attachment: Tab_d51047a6.zip

Hareesh Balasubramanian [Syncfusion]
Replied On June 17, 2019 12:59 PM UTC

Hi Adriano, 
 
Greetings from Syncfusion. 
 
We can able to reproduce the reported issue at our end and logged the below bug report. The fix will be included in our JS2 weekly release on June 25, 2019.  We will check the fix once with the release source and will provide details on June 26, 2019. 
 
Regards, 
Hareesh B 


Karthigeyan Krishnamurthi [Syncfusion]
Replied On June 25, 2019 05:29 AM UTC

Hi Adriano, 
 
Sorry it is not an issue. Kindly use the below code example to render Tab with template option for header and content. 
 
<ejs-tab> 
      <e-tabitems> 
        <e-tabitem> 
          <ng-template #headerText> 
            Twitter 
          </ng-template> 
          <ng-template #content> 
            Twitter is an online social networking service that enables users to send and read short 140-character messages called "tweets". 
          </ng-template> 
        </e-tabitem> 
        <e-tabitem> 
          <ng-template #headerText> 
            FaceBook 
          </ng-template> 
          <ng-template #content> 
            Facebook is an online social networking service headquartered in Menlo Park, California. 
          </ng-template> 
        </e-tabitem> 
      </e-tabitems> 
    </ejs-tab> 
 
Regards, 
Karthi 


Adriano Nascimento
Replied On June 25, 2019 02:49 PM UTC

It really works with this example, the problem is just documentation that is old or wrong.

thank you very much.

Karthigeyan Krishnamurthi [Syncfusion]
Replied On June 26, 2019 02:09 PM UTC

Hi Adriano, 
 
Sorry for the inconvenience. 
 
We have corrected it and online UG will be refreshed with Volume 2, 2019 main release which is excepted to be rollout by the first week of July 2019. 
 
Regards, 
Karthi 


CONFIRMATION

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