Data editor
Hello, I've just discovered the experimental data editor function. I'm wondering if it's possible to have a data frame that contains a column with editable cells and another column that updates automatically according to these values (this column may or may not be editable)? df.value only displays the values but doesn't allow you to edit the cells.
2 Replies
Someone will reply to you shortly. In the meantime, this might help:
it wouldn't look nice, but you could create an editable dataframe of just the single column and then use
mo.hstack([editable_column, other_column])
you'd likely need a few cells to do this, the first cell creating the editable_column = mo.ui.editable_dataframe()
, a second cell createing other_column
from editable_column.value
and then the third cell for presentation