Login Register

Disable a tab from a tab container

Hi,

I would like to disable a tab from a tab container but after looking through the API I don't see a way of doing it. Am I missing something obvious?

Thanks,
Odysseas

I googled a hacky javascript

I googled a hacky javascript way to do it (sorry lost the link), but my javascript skills are weak and I couldn't figure out how to apply it to my own project. I'd also like to know if there's a built-in way to do this.