hide tab not working

var tabObj = new ej.navigations.Tab({
heightAdjustMode: 'None',
height: 320,
showCloseButton: false,
selecting: tabSelected,
headerPlacement: 'Left',
items: [
{ header: { 'text': '1' }, content: '#tab_1' },
{ header: { 'text': '2' }, content: '#tab_2' },
{ header: { 'text': '3' }, content: '#tab_3' },
{ header: { 'text': '4' }, content: '#tab_4 }
]
});
var IdIndicator = getUrlVars()["IdIndicator"];
tabObj.appendTo('#tabs');

tabObj.hideTab(1, false);


1 Reply

KK Karthigeyan Krishnamurthi Syncfusion Team April 5, 2019 05:59 AM UTC

Hi Patricio, 
 
Greetings from Syncfusion. 
 
Kindly use the below code example to hide the tab items. 
 
tabObj.hideTab(1, true); 
 
 
Regards, 
Karthi 


Loader.
Up arrow icon