Hi Ivo,
thanks for trying to help. Changing the function definition is not helping unfortunatly. The problem is, that in this context, “THIS” refers to the grid, not to the component.
editor.on('select', (event) => {
if(event.args.type != 'api'){
console.log(this); // c {owner: b.(anonymous function), datafield: 17, displayfield: 17, text: 17, createfilterpanel: null…}
this.Cellendedit(event); // Uncaught TypeError: _this.Cellendedit is not a function
// this.myGrid.OnCellendedit(event); // Cannot read property 'OnCellendedit' of undefined
}
});
Do you have another idea how to call OnCellendedit
right after the select event of the dropdownlist in an jqxgrid is triggered.
Best Regards,
Martin