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

Set records selection column props #634

Open
Akronae opened this issue Aug 28, 2024 · 0 comments
Open

Set records selection column props #634

Akronae opened this issue Aug 28, 2024 · 0 comments

Comments

@Akronae
Copy link

Akronae commented Aug 28, 2024

Is your feature request related to a problem? Please describe.
I'd like to be able to set a footer for my row selection column.

Describe the solution you'd like
I'd like a property like selectionCheckboxProps that would allow me to pass data to the selection column.
Something like

selectionColumnProps={(col) => ({ render: (item) => (<div>hey! {col.render(item)}</div>), footer: (...) })}

Note how I think it would be useful to pass the original column as argument to extend its base behaviour instead of overriding it.

Describe alternatives you've considered
Implementing the selection column myself instead of using the built in one.

Additional context
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant