komarovalexander / ka-table

Lightweight MIT React Table component with Sorting, Filtering, Grouping, Virtualization, Editing and many more
http://ka-table.com
MIT License
769 stars 56 forks source link

Bulk select #374

Closed aleksei-baryshnikov closed 8 months ago

aleksei-baryshnikov commented 8 months ago

Hello. Is it possible to select a list of rows from the code? I've seen selectRowsRange but not sure that it does fit my needs. I would like to have somewhat like selectRows([...rowIds]).

komarovalexander commented 8 months ago

Hi @aleksei-baryshnikov starting from v8.8.0 those guys are available:

selectRows(rowsKeyValues)
deselectRows(rowsKeyValues)

have a great weekend!