Hello everyone, I have an issue and I would like to see if there is a way to do it or if it’s not possible.
I’m working on average data_editor (hundred to few thousands lines) and I have 4 columns named A, B, C, X with A, B, C string and X a checkbox column.
I want, when I tick/untick a row (let’s say row n), I want that it ticked/unticked all the rows with the same (An, Bn) in real time (or near).
The only way I find to update the dataframe was (me) to directly interact with each element I want to change.
I tried to use rerun (fragment too) but it’s imposible to use as scroll bar is reseting to the top each time I made a change.
I also tried to work on session_state but it doesn’t update the display of a cell (as tick to untick). I tried to work on the sum of the X column (as it’s boolean) but it wasn’t sucessfull too.
So I try to find an alternative to update data_editor display without touching it directly (like ticking a box change other checkbox)
As of now, I’m a bit hopeless and I don’t have any idea left.
Even if there any solution existing right now, I would like to know if there is any update that would change that.
PS: Something quite annoying is that on small data_editor (ie. without scrollbar) it works very well because it doesn’t reset at the top and all the data_editor is displayed because it’s already at the top
Thanks for reading.