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
[Feature Request] VDataTable: hide rowsPerPage select, if only one option is provided #2438
Comments
This can easily be achieved with the |
hide-actions also skips the pagination, which isnt what this feature request was about |
Pagination is just as superfluous as rows per page when there's only one item in the array. If you want to hide only rows per page, apply a custom css class to data table when array is only one item that sets rows per page element to |
He meant only one item in |
Oh. I guess I totally misunderstood the whole thing then :D |
tyvm |
rows-per-page-text="" |
In case you get this error: Do: |
Please do not post on old closed issues. |
New Functionality
Hide the rowsPerPage select, by not rendering it, if only a 1-item array is provided via
rowsPerPageItems
propImprovements
No custom styling needed
Bugs or Edge Cases it Helps Avoid
Removes UI clutter, if the feature of adjusting page size isnt used or desired
The text was updated successfully, but these errors were encountered: