Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add checkbox column to dataframe that is interactive #267

Open
WacoHolve opened this issue Feb 26, 2024 · 1 comment
Open

Add checkbox column to dataframe that is interactive #267

WacoHolve opened this issue Feb 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@WacoHolve
Copy link

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.

@FabienArcellier
Copy link
Collaborator

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 FabienArcellier added the enhancement New feature or request label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants