PDA

View Full Version : Disabling user selection of tab on tabpanel



carlinniss
20 Aug 2009, 1:48 PM
Hi, my question has to do with the selection on tabs in ext js 3.0.

Basically I don't want the user to be able to select the tabs in a specific instance. I want the next and forward buttons to do all the work. In this process I'm doing, it is important someone finishes the tasks on the first tab before they advance to the next.

I'm guessing there's some way to do this, but I've looked at the documentation with no luck.

Anyone have any ideas on this issue?

Thank you in advance.

:D

Lukman
21 Aug 2009, 12:47 AM
http://extjs.com/deploy/dev/examples/tabs/tabs.html

See the source code to see how they disabled the 5th tab on the second tabpanels

You might also want to explore the possibility of creating wizard-like interface using the CardLayout.