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

pageIndex should not be set to 1 when user want to use own sort function

Open andy-yu-y opened this issue 3 years ago • 0 comments

Use below paras to try to override sort fuction, handleSort is the method which i would like to use. sortServer onSort={handleSort}

But before handleSort is called, the key para pageIndex is auto changed to 1 which is not expected. Is there anyway can avoid this behaviors? I would like to have full control of sort function inside handleSort method.

andy-yu-y avatar Sep 06 '22 03:09 andy-yu-y