Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data-sort-order attr no longer supported #151

Open
chinanderm opened this issue Feb 13, 2018 · 4 comments
Open

data-sort-order attr no longer supported #151

chinanderm opened this issue Feb 13, 2018 · 4 comments
Labels

Comments

@chinanderm
Copy link

chinanderm commented Feb 13, 2018

At some point since commit 036e2f9 back on December 10, 2015, the support for data-sort-order on a to override the global sort order config option has been removed. Is there a new way to do this?

Downloading the source as of commit 036e2f9 allows <th data-sort-order="asc">...</th>, for example, to a click on that header to override a global option sort order of "descending".

Can this please be restored?

@FlashJunior
Copy link

Any update on that?

@colinodell
Copy link
Contributor

Gentle bump

@zevero
Copy link

zevero commented Mar 9, 2020

just bumped into this as well. Made a tiny pull request #184

@arkanovicz
Copy link

From the sources, it seems that this attribute has been superseded by aria-sort="[ascending|descending]". But due to a bug at initialization, this attribute is reversed... So if you want to have a column sorted in the descending order by default, for the time being you must do: <th data-sort-default aria-sort="ascending">.

@tripu tripu added the question label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants