Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Prachi on Mar 31, 2009 10:04
open dhtmlx forum
Weird issue with Tabbar within my own JSP

hi,

I am facing a weird issue with hideTab. When I try using the hideTab within my JSP, it does not work unless I add some kind of alert in the beginning. I see that it works very well in the sample files. Is there something I am missing?

thanks,
Prachi
Answer posted by Alex (support) on Apr 01, 2009 03:13

Hello, 

The tab can hidden only after tabbar is loaded. So, if you use xml loading, something as follows can be used:

tabbar.loadXML("some.xml",function(){

tabbar.hideTab(tabId);

})