0
votes

In my application , I show a ExtJS menu when clicked on a button. This menu gets collapsed when I click outside it.But my requirement it this menu should not collapse when clicked outside it.

I debugged in ExtJS files, there is a mousedown Event in GlobalEvents see here which gets fired and it collapse this menu. How can I change or override this behaviour.

Thanks in advance.

1
Try to return false; in your menu beforehide event handler. - Sergey Novikov
Already tried . Not working. - Harshal
Just checked in fiddle, works for me. - Sergey Novikov
so add a fiddle that showing your issue, you did't gave us any code. - aviram83

1 Answers

0
votes

As fast workaround you can to return false; in your menu beforehide event handler.

Working fiddle