# Edit a column in a table and corresponding columns auto update

**URL:** <https://discuss.streamlit.io/t/edit-a-column-in-a-table-and-corresponding-columns-auto-update/47028>\
**Category:** Using Streamlit\
**Created:** [July 11, 2023, 9:34pm UTC](https://discuss.streamlit.io/t/edit-a-column-in-a-table-and-corresponding-columns-auto-update/47028 "2023-07-11T21:34:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartik1](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/kartik1/32/29146_2.png) [@kartik1](https://discuss.streamlit.io/u/kartik1)\
**Post date:** [July 11, 2023, 9:34pm UTC](https://discuss.streamlit.io/t/edit-a-column-in-a-table-and-corresponding-columns-auto-update/47028/1 "2023-07-11T21:34:30Z")

</div>

I essentially want to edit a column and correspondingly the rest of the columns should get auto updated basis the logic in the code.

I tried using st.data\_editor but after changing the values the other columns remained unchanged

Is it possible?, if yes can you help me with some easy examples

---

<div class="post-metadata">

**Author:** ![blackary](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/blackary/32/47725_2.png) [@blackary](https://discuss.streamlit.io/u/blackary)\
**Post date:** [July 20, 2023, 9:13pm UTC](https://discuss.streamlit.io/t/edit-a-column-in-a-table-and-corresponding-columns-auto-update/47028/2 "2023-07-20T21:13:22Z")

</div>

> [@How to create a column based in other column in st.dataframe?](https://discuss.streamlit.io/t/how-to-create-a-column-based-in-other-column-in-st-dataframe/47587/2):
>
> Here’s one way to do it with st.data\_editor

---

<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:** [July 22, 2023, 9:13pm UTC](https://discuss.streamlit.io/t/edit-a-column-in-a-table-and-corresponding-columns-auto-update/47028/3 "2023-07-22T21:13:30Z")

</div>

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