extjs grid中获取被点击cell的数据

cellclick : function(view, cell, cellIndex, record,row, rowIndex, e) {
              var clickedDataIndex = view.panel.headerCt.getHeaderAtIndex(cellIndex).dataIndex;
              var clickedColumnName = view.panel.headerCt.getHeaderAtIndex(cellIndex).text;
              var clickedCellValue = record.get(clickedDataIndex)
}

你可能感兴趣的:(extjs grid中获取被点击cell的数据)