Reputation: 7
I want to do something similar to this fiddle :https://fiddle.sencha.com/#view/editor&fiddle/20rt but the difference is that he has done it for checkbox xtype but I want it for checkcolumn .Please let me know if we can do like this ?
Upvotes: 0
Views: 34
Reputation: 411
You can use headerCheckbox config. Configure as true to display a checkbox below the header text.
Clicking the checkbox will check/uncheck all records.
Ext.create('Ext.grid.Panel', {
columns: [{
xtype: 'checkcolumn',
headerCheckbox:true,
}]
});
Upvotes: 0