Skip to content

[Regression] Server side column sorting #384

@ghost

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

  1. Go to 'https://codesandbox.io/s/charming-blackwell-8vz3d?file=/src/App.js'
  2. Table is sorted on 'Pants'
  3. Click on 'RESET SORT'
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions