Our blazing fast Grid component built with pure JavaScript


Post by germandsantana »

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


Post by mats »

Reproduced, we'll investigate: https://github.com/bryntum/support/issues/963


Post by germandsantana »

Hi,

Do you know if this issue could be fixed in a soon release of the grid?

We have an active license of the grid. I am posting with my email personal account, because registration on the forum with my work email account was nearly impossible , seems like office 365 is blocking all messages from the forum.

My email is german.santana@hydra-management.com

Thanks


Post by Maxim Gorkovsky »

It is scheduled for next grid patch release.


Post Reply