# GridUpdateMode.SELECTION\_CHANGED Bug

**URL:** <https://discuss.streamlit.io/t/gridupdatemode-selection-changed-bug/46213>\
**Category:** Using Streamlit\
**Created:** [June 28, 2023, 3:37pm UTC](https://discuss.streamlit.io/t/gridupdatemode-selection-changed-bug/46213 "2023-06-28T15:37:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sinakian](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/sinakian/32/28591_2.png) [@Sinakian](https://discuss.streamlit.io/u/Sinakian)\
**Post date:** [June 28, 2023, 3:37pm UTC](https://discuss.streamlit.io/t/gridupdatemode-selection-changed-bug/46213/1 "2023-06-28T15:37:55Z")

</div>

I have a web-app that it was working perfectly. In one part of the app there is a empty table for users to insert data in it, then they should select check boxes of the filled rows to create a dataframe. The dataframe will go to the database. So for example a user was inserting 5 rows in an empty table with 20 rows, then flagged the filled rfows (the 5 rows) to create a table.

But recently, as soon as user clicks on the first check box, the whole page refreshes so the table becomes empty again. I belive it is a bug that created in new version. But at the moment how can I solve the issue?

is there any way to define a customized GridUpdateMode?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [December 25, 2023, 3:38pm UTC](https://discuss.streamlit.io/t/gridupdatemode-selection-changed-bug/46213/2 "2023-12-25T15:38:11Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
