react-redux-grid icon indicating copy to clipboard operation
react-redux-grid copied to clipboard

Re-sorting of changed data

Open desturm opened this issue 7 years ago • 1 comments

The Grid component saves the current sort in the Redux store. If changed data is passed to the grid component or the grid component is re-instantiated, the data is no longer sorted according to the stored sort. Does the Grid component support re-sorting of the data?

desturm avatar May 02 '17 08:05 desturm

Currently when new data is passed to grid, it just replaces the data set with the new props. Not sure how the API would specify when new data should be resorted in a way that wouldn't feel unintuitive or buggy. One (not exactly ideal) option would be to sort the data before you pass it to the grid.

bencripps avatar Jul 17 '17 00:07 bencripps