i'm new of Extjs; i have a panel with the item "collapsible: true" and it works fine but... when my specific condition is true, i want to collapse the panel, and i want to disable the button used to expand it (therefore the panel doe not show anymore, even if the click is made). It's possible do it? I want a type of override method that doing other things, for example to show a div with few specific information in the page. I use only javascript and Extjs.
thanks in advance and happy holidays