writer-framework icon indicating copy to clipboard operation
writer-framework copied to clipboard

Add checkbox column to dataframe that is interactive

Open WacoHolve opened this issue 1 year ago • 1 comments

It'd be super helpful to have the ability in a DataFrame component to create a column that would allow a modification of an input component.

i.e. I have a dataframe and I'd like to have a T/F checkbox where I can persist the value to the state and check / uncheck values dynamically in the display.

WacoHolve avatar Feb 26 '24 20:02 WacoHolve

THANKS. This request helps us prioritize our roadmap. Selecting an element in a dataframe is indeed a must-have.

We can't do that now. We want to evolve our components to make dataframe support even more intuitive. This will take up a lot of our efforts over the next few months.... We want to avoid introducing it in a way that would require us to ensure backwards compatibility.

If you are brave, you can build your own component by cloning the ui/src/core_components/content/CoreDataframe.vue file. It is possible to add a checkbox in the view for each row, add a field to check the selected rows from a state in the backend and raise an ss-checked event to the backend in the form of 'a payload to notify of a new selection / deselection.

{
	rows: [58, 59, 70]
}

FabienArcellier avatar Mar 13 '24 16:03 FabienArcellier