PDA

View Full Version : Context menu closes when ticking or unticking



aolee
11 Aug 2009, 1:45 AM
Hi,

hope you can help me solve my problem... whenever I check or uncheck the checkboxes to display or remove... the menu always disappears. how can i make it stay so that i can do multiple select of checkboxes? thanks

Try the fourth Grid example, you can only check and uncheck one at a time because it closes when u do so.

http://extjs.com/playpen/ext-2.0/examples/grid/grid3.html

Animal
11 Aug 2009, 2:11 AM
This was fixed. What version you on?

aolee
11 Aug 2009, 2:21 AM
Thanks for your quick reply,

Is it bec im using Ext JS Library 2.0 Beta 1?

Animal
11 Aug 2009, 2:32 AM
There's only a one word answer to that.

WHY?:-/:-/:-/:-/:-/

aolee
11 Aug 2009, 4:55 PM
hehehe, I dont know either, I just took over this system 2 days ago. i'll dig into it some more. thanks,

aolee
25 Aug 2009, 8:00 PM
Found the cause, check the line "hideOnClick : true," on your ext-all.js and make it false. this should do the trick. Just want to share this because it really drove me nuts for days, figuring out the reason.

Animal
25 Aug 2009, 9:16 PM
Mmm... no.

Do not change ext-all.js!!!

Why on EARTH would you edit that? What happens when you upgrade?

Change the value in the prototype of Ext.menu.BaseItem!