Hello
I want to change editor of the cell dynamically on some event from combo to custom combo editor. Is there any way to do it?
You can reset column.editor property from onBeforeEditStart event
i’ve done the same way. however, there is an issue: the first time the “combo” editor turns up quite well. but, consecutive clicks shows data as “[object]” in the combo box. does anyone has a better idea? my code looks like :
on:{
onBeforeEditStart:function(id){
var config = this.getColumnConfig(id.column);
console.log(config.testProp);
config.editor = “combo”;
config.options = this.collectValues(id.column);
}
}