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

[Feature Request] Ability to disable the next/previous buttons of v-data-table pagination, when an API call is being made to fetch data #6138

Closed
kanteankit opened this issue Jan 14, 2019 · 1 comment
Assignees
Labels
C: VDataTable VDatatable T: enhancement Functionality that enhances existing features T: feature A new feature

Comments

@kanteankit
Copy link

Problem to solve

In my app, I want to prevent the user from clicking the next button when an API call is in progress.
image

So, I want to disable that button. The v-pagination provides this feature,but, the built-in pagination of v-data-table does not.

I cannot use v-pagination because it does not have a dropdown to select the number of rows.

Proposed solution

Add a prop that says disable-action that prevents the user from changing anything in the action row.

@dsseng dsseng added T: enhancement Functionality that enhances existing features T: feature A new feature labels Jan 14, 2019
@nekosaur nekosaur self-assigned this Jan 18, 2019
@nekosaur nekosaur mentioned this issue Jan 18, 2019
9 tasks
@jacekkarczmarczyk jacekkarczmarczyk added the C: VDataTable VDatatable label Apr 9, 2019
@nekosaur
Copy link
Member

nekosaur commented Jun 7, 2019

This is now possible in 2.0 using the prop disable-pagination on v-data-footer. Accessed through footer-props on v-data-table

@nekosaur nekosaur closed this as completed Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VDataTable VDatatable T: enhancement Functionality that enhances existing features T: feature A new feature
Projects
None yet
Development

No branches or pull requests

4 participants