Hello,
I’m trying to set the source data after adding a row with afterCreateRow hook.
However, the console gives me below error if I do not use setTimeout to wrap the code with setState.
Could you please guide me the correct way to set the data after the afterCreateRow hook?
Uncaught TypeError: Cannot set properties of null (setting ‘forceFullRender’)
https://jsfiddle.net/x6Lj1h4b/11/
Steps to reproduce is to insert row with the context menu, the error appears in the console.
And then remove the comment on line 20, 26 then insert row, the error does not appear.