On_change - st.data_editor

Hi,
I found some helpful solutions that will help you regarding this problem you are facing.
Here is Solved discussion on streamlit:
https://discuss.streamlit.io/t/proper-use-of-on-change-with-st-experimental-data-editor/41704

Here is official documentation of streamlit:
https://docs.streamlit.io/library/api-reference/data/st.data_editor

Thank you