Row selection abstraction somewhat clunky #5873
-
Currently you can implement row selection in 2 manners: as a built in feature of UI layer, or as a special column. The column definition would be repeated for every table, making it a good idea to abstract it. However, an abstracted definition isn't connected to specific table data, having a type of Making it a table feature, however, is missing information on whether the feature is enabled on the table instance, there's only My proposed solution is to expose a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
const canSelect = table.options.enableRowSelection !== false;
is how it can be done