bhaveshpatel200 / vue3-datatable

vue3-datatable is a powerful component for creating dynamic and customizable data tables. It supports large amounts of data, sorting, pagination, and filtering and highly customizable
MIT License
132 stars 19 forks source link

pagination reset my Selected Rows #59

Open GanpatJangra opened 3 weeks ago

GanpatJangra commented 3 weeks ago

pagination reset my Selected Rows when we go from 1, 2, 3 ... how we can prevent this i don't to reset my selected table. @bhaveshpatel200 please help me

bhaveshpatel200 commented 3 weeks ago

Hi, We have not this type functionality in the package.

I think you can take one array variable for selected values, and you can maintain that variable after select rows. like you can get selected ids using getSelectedRows() method after select rows.

and i think if you will pass selected = true in table rows which will select the rows.