Forum /
Ext JS Community Forums 4.x /
Ext: 4.x Beta /
Capture CheckboxColumn event in a selection model
Capture CheckboxColumn event in a selection model
in checkboxcolumn, a event checkChange is fired whenever the checkbox cell is clicked, i wonder how i can capture that in a selection model? thanks
Follow up on the previous question, when a checkColumn is added, the click event is not automatically captured by the view's cellclick or itemclick event, so would you please provide a solution? thanks
find it.
bindComponent: function (view) {
var me = this;
...
Ext.each(headerCt.gridDataColumns, function (col, idx) {
if (col.xtype && col.xtype == 'checkcolumn') {
col.colIdx = idx;
col.on('checkchange', me.checkchange, me);
}
}, this);
},
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us