Hi,
We are using the finalizeCellEdit function to perfom async validations .
When the async function takes much time to run and the user clicks on another cell during the execution , an error is thrown:
Unhandled Rejection (TypeError): editorContext is null
onEditorComplete
grid-3.1.5/build/grid.umd.js:73382
trigger
grid-3.1.5/build/grid.umd.js:40139
This is the code sample to reproduce it:
finalizeCellEdit:async (context) => {
await new Promise(resolve => setTimeout(resolve, 3000));
console.log("cellEdit");
return true;
}
Thanks,
Germán Santana