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

Make all (most) tables sortable #117

Merged
merged 2 commits into from
Aug 20, 2023
Merged

Make all (most) tables sortable #117

merged 2 commits into from
Aug 20, 2023

Conversation

RedSparr0w
Copy link
Member

@RedSparr0w RedSparr0w commented Aug 17, 2023

Makes all tables with a header and no rowspans/colspans sortable using datatables.

Example below:
Main table is sortable (has headers, no spans), side table is not sortable (has colspan):
image

By default they will not sort by any column, just the way they are initially laid out.

Previous behavior would ignore any table with less than 40 rows.

@github-actions github-actions bot added the script Adding or editing js files label Aug 17, 2023
@RedSparr0w RedSparr0w merged commit a8f6158 into main Aug 20, 2023
1 check passed
@RedSparr0w RedSparr0w deleted the sparr0w/sortable-tables branch August 20, 2023 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
script Adding or editing js files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant