question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way to customize sortStates in DataTable?

See original GitHub issue

@dawangdw commented on Tue Jul 24 2018

Detailed description

Is there a way to customize sortStates to only support ascending and descending.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
joshblackcommented, Jul 24, 2018

Enhancement, I believe!

0reactions
stale[bot]commented, Jun 11, 2019

As there’s been no activity since this issue was marked as stale, we are auto-closing it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Default ordering (sorting) - DataTables example
Default ordering (sorting). With DataTables you can alter the ordering characteristics of the table at initialisation time. Using the order initialisation ...
Read more >
How to use the carbon-components-react/lib ... - Snyk
To help you get started, we've selected a few carbon-components-react/lib/components/DataTable/state/sorting.sortStates.NONE examples, based on popular ways ...
Read more >
Examples › Sorting | Mantine DataTable
In order to enable sorting, you'll have to: add a sortable: true property to each sorting candidate column;; add a sortStatus property to...
Read more >
Implementing Custom Sorting in Columns in JavaScript
A JavaScript tutorial for web developers show how to custom sort ... The Material Data Table, or MatTable, is chock-full of features, ...
Read more >
jQuery DataTables: how to sort by custom parameter value ...
To answer your first question, you could use the Formatted Numbers plugin available on the DataTables plugin page. I would post the code...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found