react-data-table-component icon indicating copy to clipboard operation
react-data-table-component copied to clipboard

sort function runs every time data changes

Open mohamed-elzohery opened this issue 1 year ago • 0 comments

Issue sort function runs every time data changes

When sort is active for a certain column and consider that column displays an input element, whenever the value in this element changes the sort function fires and the row of this element has its order changed. This not the best user experience.

Suggestion: sort function should be customized to only run when the sort icon is clicked not when the data is changed.

mohamed-elzohery avatar May 17 '24 14:05 mohamed-elzohery