Disable sorting
Hi.
I have a column with numbers in a string: "10, 11, 17".
How to disable sorting in material-table?
Because I have a result like: 2 10, 1
Finded solution add to column setting:
customSort: () => 0,
In header settings.
You can also just add sorting: false to the column setting.
Maybe kindly close this issue as it seems to have been resolved.
Glad you got your problem resolved. It looks like the sorting wasn't working because the data types of the numbers you sent into the table were actually strings, which are going to be sorted according to their unicode properties, and not their values as numbers.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.