我想在单击下面的网格单元格时将行添加到行 我尝试了三个选项但没有工作。如何让它工作,谢谢
listeners: {
,'cellclick': function (grid, td, cellIndex, record, tr, rowIndex, e, eOpts ) {
// addclass to row
Ext.fly(grid.getView().getRow(rowIndex)).addClass('bluerow'); // not working
grid.getView().addRowCls(rowIndex, 'bluerow'); // not working
Ext.get(e.target).addClass('bluerow'); // not working
}
}