需求:想在EditorGridPanel的不同行的同一列显示不同的编辑器
代码:
方法一:
this.grid.on("cellclick",function(grid,rowIndex,colIndex,e){
var innerName = grid.store.getAt(rowIndex).data.innerName;
var column = grid.getColumnModel().columns[colIndex];
if(innerName=="startTime"){
this.startTime = new Ext.form.DateField({
format:'Y-m-d',
name:'startTime',
readOnly:false,
minValue:new Date()
});