PDA

View Full Version : How can I select/ unselect checkbox item in menu



Manjiri
1 Jan 2013, 2:12 AM
I am using Ext.menu.Menu.
In that I have 3 checkboxe items.
I want to deselect one checkbox, when I select other checkbox. I am able to do enabling/ disabling, but I did not find way to select/ unselect.
Anyone has tried this?

skirtle
1 Jan 2013, 6:32 AM
You need the group config:

http://docs.sencha.com/ext-js/4-1/#!/api/Ext.menu.CheckItem-cfg-group

Demo (see Radio Options):

http://cdn.sencha.com/ext-4.1.1a-gpl/examples/menu/menus.html