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

0.12 data-tables do not display full rows-per-page selection list #581

Closed
firepick1 opened this issue May 22, 2017 · 7 comments
Closed

0.12 data-tables do not display full rows-per-page selection list #581

firepick1 opened this issue May 22, 2017 · 7 comments
Assignees
Labels
T: bug Functionality that does not work as intended/expected

Comments

@firepick1
Copy link

Steps to reproduce

See Vuetify documents for v-data-table https://vuetifyjs.com/components/data-tables
Go to #2 Selectable Rows
Click on pages per row
Only "5" shows fully -- all other options are clipped

Versions

Vuetify 0.12.0

What is expected ?

See all rows-per-page options

What is actually happening ?

Options seem to be clipped by bottom of table. Maybe a z-index bug?

Reproduction Link

https://vuetifyjs.com/components/data-tables

@johnleider johnleider self-assigned this May 22, 2017
@johnleider johnleider added the T: bug Functionality that does not work as intended/expected label May 22, 2017
@johnleider
Copy link
Member

I started a branch to help fix this since it is a little more detailed.

@firepick1
Copy link
Author

Cool. You may also discover that clients cannot set the initial rows-per-page, which is hardwired to 5.
If you want I can file another issue to fix in your new branch or just use this comment.

@johnleider
Copy link
Member

You should definitely be able to set the initial rows-per-page, paging @nekosaur

@nekosaur
Copy link
Member

You can set initial rows-per-page by using the pagination prop.

<v-data-table :pagination.sync="pagination"></v-data-table>
...
data () {
  return {
    pagination: {
      rowsPerPage: 10
    }
}

@forresthopkinsa
Copy link

@nekosaur Where is the documentation for this functionality? I couldn't find it.

@nekosaur
Copy link
Member

nekosaur commented Jul 3, 2018

@forresthopkinsa
Copy link

Thanks.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

4 participants