Closed vijaypatoliya closed 4 years ago
Sorry for that! I believe that should be a bug (and quite an annoying one!). Your use case (sort entire table) should be the default behavior. I will inspect this and push a fix real soon.
@vijaypatoliya This PR https://github.com/Imballinst/react-bs-datatable/pull/47 is an attempt to fix this issue. Please try out the sandbox https://codesandbox.io/s/serverless-cookies-6pgn3 and try to sort the "Score" column!
If the behavior is correct, I'll merge it and publish 2.0.3
.
As now sorting only support with the current page. Is there an option to sort on the whole data source instead of a current active page?
Thanks in advance.