You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a modal that opens when a user clicks on a row from render.DataGrid. This works great! However, when the "upstream" data changes and the resulting data in render.DataGrid changes, the modal opens again.
The expected behaviour would be that the modal should not re-open, as no value is selected.
I could be missing something about the correct way to implement this. But I cannot figure it out!
Recording
The unexpected behaviour happens at the 9 second mark.
Uh oh!
There was an error while loading. Please reload this page.
Description
I have a modal that opens when a user clicks on a row from
render.DataGrid
. This works great! However, when the "upstream" data changes and the resulting data inrender.DataGrid
changes, the modal opens again.The expected behaviour would be that the modal should not re-open, as no value is selected.
I could be missing something about the correct way to implement this. But I cannot figure it out!
Recording
The unexpected behaviour happens at the 9 second mark.
Screenshot.2024-05-09.at.15.41.30.mp4
Reprex
Possible solutions
Use .update_cell_selection(None)
This still results in the same behaviour.
Also, it is correct that
data_table.update_cell_selection(None)
needs to be run in an async function?The text was updated successfully, but these errors were encountered: