HI All,
So i have been using tabs component for a requirement.
The data for the tab header comes from a variable in ts file which is an array of data.
So how do i user tabs in for loop for headers? and i need to provide a horizontal scroll for overflowing data
i tried the following code below:
<ejs-tab id="element" heightAdjustMode='Fill' overflowMode='Scrollable' width='300px'>
<e-tabitems>
<e-tabitem *ngFor="let message of headerText; index as i">
<ng-template #headerText>
<span >{{message.text}}</span>
<span *ngIf="i !== 4">10</span>
</ng-template>
</e-tabitem>
</e-tabitems>
</ejs-tab>