Page 1 of 1

[REACT] finalizeCellEdit

Posted: Thu Jun 18, 2020 8:00 pm
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


Re: [REACT] finalizeCellEdit

Posted: Fri Jun 19, 2020 12:11 am
by mats

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


Re: [REACT] finalizeCellEdit

Posted: Thu Jul 30, 2020 10:06 pm
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


Re: [REACT] finalizeCellEdit

Posted: Fri Jul 31, 2020 10:41 am
by Maxim Gorkovsky

It is scheduled for next grid patch release.