lovuikeng
lovuikeng2mo ago

Keep ui table state of selected rows

Is there any way to keep the state of selected rows of ui table which is part of the items in accordion (or tabs)? The table always get re-rendered on switching between items, thereby losing the state of selected rows of the table
3 Replies
Akshay
Akshay2mo ago
Responded to you in general, but this channel is more appropriate, thank you for reposting. Copying response here: Ah I think that's a bug, the selection should likely be internal state. cc @Wasim , in case you have time to look at this. Here's a repro: https://marimo.app/?slug=bef8pr
marimo | a next-generation Python notebook
A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
Wasim
Wasim2mo ago
Yeah sounds like a bug, I’ll try and take a look
lovuikeng
lovuikengOP2mo ago
THANK YOU BOTH!