Set records selection column props
Opened this issue · 0 comments
Akronae commented
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.