I have 5 panels created in ExtJS 4.0. Initially 1st one is enabled and expanded and second one is enabled but collapsed, what I want to do is to enable the other one’s as the user expands the previous panel. Let’s say panel 3 is disabled, and whenever user expands panel 2, panel 3 enables (but stays collapsed) and when panel 3 is expanded, panel 4 becomes enabled and so on.
Share
Seems like you should just be able to attach event listeners on
expandto do what you want. You might bubble the event in order to make a single listener.Something like: