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

Add length menu for datatable to allow configurable page size #95

Closed
adangel opened this issue Jul 29, 2021 · 0 comments · Fixed by #101
Closed

Add length menu for datatable to allow configurable page size #95

adangel opened this issue Jul 29, 2021 · 0 comments · Fixed by #101
Labels
enhancement New feature or request
Milestone

Comments

@adangel
Copy link
Member

adangel commented Jul 29, 2021

Sometimes it would be useful to change the page size (e.g. pmd/pmd#3363 (comment))

This is possible with the datatable, we use: https://datatables.net/reference/option/lengthChange
We probably just don't show the lengthMenu yet, it needs to be added to the dom option via "l": https://datatables.net/reference/option/dom

dom: 'Pfrtip', // Search Panes, filtering input, processing display element, table, table information summary, pagination control

@adangel adangel added the enhancement New feature or request label Jul 29, 2021
adangel added a commit to adangel/pmd-regression-tester that referenced this issue Dec 4, 2021
@adangel adangel added this to the 1.2.1 milestone Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant