Open Eloitor opened 4 days ago
@Eloitor you could again use mo.state
and track the selection and put up a warning (mo.callout
) when there is an invalid selection
The disabled rows would make it more obvious.
Maybe passing a lambda to mo.ui.table that returns true if the row should be enabled, and false if it should be disabled.
Description
I have a table that contains some parameters to be used for the rest of the notebook. Selecting one row, sets up the parameters.
Under some conditions, some combinations of parameters are not valid for the calculations I want to do.
Suggested solution
Allow disabling the selection of some rows, while displaying them.
Maybe in gray to show they are not available?
Alternative
No response
Additional context
No response