How to disable Tabbar Initialized from HTML?

With this definition:



How do I disable the “proj_tab2” tab with code?
{WHAT?}.disableTab(“proj_tab2”);

Hi
“proj)tabs” is your tabbar object id.

proj_tabs.disableTab(“proj_tab2”);
Doesn’t work.

Please, provide us completed demo to reproduce your issue.
docs.dhtmlx.com/doku.php?id=othe … leted_demo

Hang on, you mean this line should work in this case?
proj_tabs.disableTab(“proj_tab2”);

Here is a demo for you. Just try it :slight_smile:
13.05.08.rar (284 KB)

Thanks!
Now I know that the syntax is correct and that I have screwed up somewhere else.

You are welcome! :slight_smile: