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

Is it data-order or data-sort-order that sets the order for sorting ? #7565

Open
RochesterinNYC opened this issue Oct 16, 2024 · 0 comments
Open
Labels
help-wanted Issues we need or would love help from the community to resolve.

Comments

@RochesterinNYC
Copy link

Description

In the docs, it mentions that data-order is the data attribute used for row sorting order: https://bootstrap-table.com/docs/api/column-options/#order

However, then, in the example that it links to and the source code for that example, data-sort-order is the data attribute used.

From testing in practice, it seems that data-sort-order is the actual data attribute to use.

If this is accurate and the docs need an update, happy to submit a PR.

Example(s)

No response

@RochesterinNYC RochesterinNYC added the help-wanted Issues we need or would love help from the community to resolve. label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-wanted Issues we need or would love help from the community to resolve.
Projects
None yet
Development

No branches or pull requests

1 participant