github jbetancur/react-data-table-component v3.0.4

latest releases: v7.6.2, v7.6.1, v7.6.0...
4 years ago

Bug Fixes

selectableRows and Redux dispatch actions

  • #178 #179 This was a doozy! When using Redux with RDT and dispatching an action state.data in tableReducer would be [] thus causing the selectableRow behavior to break

selectableRows and/or sorting with paginationServer

  • #180 Fixes an issue when using the server-side pagination option paginationServer in conjunction with selectableRows where paging or sorting would break the selected rows. The opinion of this library (there is no standard) is that selected rows should be deselected when paging or sorting as the data from the server may change.
  • For client-side pagination or paginationServer=false RDT will retain the default behavior of keeping rows selected when the table is sorted or page. Basically, with client-side pagination the entire data being paged (RDT just slices the array data per page) vs. server-side where it is an actual "page" of data requested from the server.
  • For client-side paging, RDT may in the future provide a feature to only allow selections on the current page. If there is a demand for this feature please open a ticket or PR.

Don't miss a new react-data-table-component release

NewReleases is sending notifications on new releases.