St.data_editor SelectboxColumn

Is there a way to set the value of a column based on the dropdown that is provided to st.column.config.SelecboxColumn. For example, I have a column which has dropdown options as ['key1-value1", “key2-value2”, “key3-value3”]. When a user selects “key1-value1”, the value that is shown in the row+col should be “key1” (always split on ‘-’ and returning the first value).

Hey @josephdo, unfortunately, this isn’t possible in the current version :frowning: But you can upvote this issue on Github to get this feature prioritized.

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