87,910
社区成员
发帖
与我相关
我的任务
分享
grid.on('cellclick',function cellclick(grid, rowIndex, columnIndex, e) {
var record = grid.getStore().getAt(rowIndex); //Get the Record
var fieldName = grid.getColumnModel().getDataIndex(columnIndex); //Get field name
var data = record.get(fieldName);
alert('当前选中的数据是'+data);
});