Closed john-xhio closed 2 years ago
Uugh. Thanks for reporting this. Did not expect this. Will look into this tomorrow.
Hi John -- sorry for the delay on this.
Can you upgrade to v51, and set the experimental flags for grid (config key xhGridExperimental
) to
{ "syncDataImmediately": true }
this should fix your problem. Hopefully it does not break anything else (would love your confirmation of that for your app) Its looking like this will become the standard setting in the toolkit in v52
Awesome, I will rewind my temporary fixes and try it out. Thank you!
[it worked for John]
Closing this -- we are making the flagged fix the default behavior in v 52.
GridModel.selectAsync()
requiresawait GridModel.whenReadyAsync();
to function. (similar toselectFirstAsync
) Can it be baked into the function?In situations where you want to default the grid selection to a specific row immediately after a load you have to wait for the grid to be ready or the row will not be selected.