Thank you for reporting this bug. We will make it our priority to review this report.
Sencha User
Extjs 3.4 checkchange listener not working on Checkcolumn
1) checkchange listener not working:
Code:
{
xtype : 'checkcolumn',
header : 'IsVisibile',
dataIndex : 'isvisible',
width : 50,
sortable : true,
align : 'left',
listeners : { checkchange : function (_this , checked ){ alert ( "checked" ); } }
}
2) Use the file CheckColumn.js (attached)
Code:
...
grid.on('checkchange', handleCellColumnClick);.../** handleCellColumnClick
*
* @param grid
* @param checked
* @param rowIndex
* @param colIndex
*/
function handleCellColumnClick( grid, checked, rowIndex, colIndex )
{
if (colIndex > 0) {
var record = grid.getStore().getAt(rowIndex),
fieldName = grid.getColumnModel().getDataIndex(colIndex), // Get field name
value = record.get(fieldName);
doSave(record, 1);
}
}
...
Attached Files
Thanks for the report. I couldn't find an existing ticket for this issue. Can you please post a test case which reproduces the issue you are seeing?
https://fiddle.sencha.com/#home
Sencha User
fiddle
Originally Posted by
Gary Schlosberg
Thanks for the report. I couldn't find an existing ticket for this issue. Can you please post a test case which reproduces the issue you are seeing?
https://fiddle.sencha.com/#home
This is the fiddle:
https://fiddle.sencha.com/#fiddle/ni0
The fiddle does not work for versions 3.x.x.
I am attaching the page Checkcolumn.html which reproducing the case.
Attached Files