Regarding the dynamical editor example.
Wouldn't it be better to use the beforeedit event (so it works if you tab into the field you want to edit)?
listeners: {
beforeedit: function(e) {
if (e.grid.getColumnModel().getDataIndex(e.column) == "trigger"){
if (e.grid.store.getAt(e.row).get('type') == 'custom'){
e.grid.getColumnModel().setEditor(e.column,date_right_editor);
} else {
e.grid.getColumnModel().setEditor(e.column,default_right_editor);
}
}
}
},
--Mattsheppard 03:06, 1 May 2008 (EDT)