extjs - Ext JS 4.1 Grid CheckColumn deselects row with Checkbox Selection Model -


i have grid using checkboxselectionmodel selection model , have ext.ux.checkcolumn in grid. if select row (check box on selection model), click checkbox in checkcolumn of selected row, deslects row.

i looked listener override, however, didn't see one. has 1 else seen behavior , how fix it?

ext.require(['ext.ux.checkcolumn', .....]);  ext.create('ext.panel.grid', {     .....,     selmodel: ext.create('ext.selection.checkboxmodel', {}),     columns:[         {text: 'name', dataindex: 'name'},         ......,         {xtype: 'checkcolumn', name: 'can edit', dataindex: 'canedit'}     ],     store: userstore }); 

add "stopselection" property checkcolumn:

{xtype: 'checkcolumn', name: 'can edit', dataindex: 'canedit', stopselection: false} 

see: http://jsfiddle.net/xrmav/


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -