I see. Yes, like all widgets, if you change anything that defines the widget, it will lose state and be created anew. If you want to allow re-filtering between edits, you’ll need to collect the existing edits before applying the new filter.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Edit cell values and save changes back to table | 5 | 3815 | March 1, 2024 | |
| Filter data in data_editor | 21 | 17287 | October 31, 2023 | |
| Using Streamlit: making a table based on selections | 2 | 3069 | January 29, 2024 | |
| Querying a Snowflake table using filters in Streamlit app | 0 | 1078 | April 23, 2024 | |
| How to add/delete rows from Snowflake table using data_editor | 1 | 782 | December 5, 2024 |