Extjs项目使用经验————获得当前正在编辑的列对象/可以用于ObjectCombo

 /**
 * 获取列
 * @author penglishan 
 * @date 2012-12-28
 */
getColumn: function(dataIndex, rowIndex){
var grid = this;
var colMode=grid.getColumnModel();
var columnIndex =colMode.findColumnIndex(dataIndex);
var column = colMode.getCellEditor(columnIndex,rowIndex).field;
return column;
}




原文地址:https://www.cnblogs.com/babyhhcsy/p/3431133.html