-
-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Labels
bugSomething isn't workingSomething isn't workingwontfixThis will not be worked onThis will not be worked on
Description
Guidelines
Describe the bug
On previous library, we can disable the internal state sort mechanism in order to use external managed one.
This can be done by setting a no-op customSort method on columns definition.
See :
mbrn/material-table#64
mbrn/material-table#1798
And PR Proposal for a new dedicated property : mbrn/material-table#2480
To Reproduce
- Go to 'https://codesandbox.io/s/charming-blackwell-8vz3d?file=/src/App.js'
- Table is sorted on 'Pants'
- Click on 'RESET SORT'
- Nothing happen
Working sandbox (with previous library) :
https://codesandbox.io/s/autumn-microservice-hb1xu?file=/src/App.js
Expected behavior
If customSort is a no-op, internal sort state should not be used.
Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome
- Version 94.0.4606.81
Yours faithfully,
LCDP
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwontfixThis will not be worked onThis will not be worked on