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

Pagination on referenced_list #338

Closed
nathanclevenger opened this issue Mar 2, 2015 · 4 comments
Closed

Pagination on referenced_list #338

nathanclevenger opened this issue Mar 2, 2015 · 4 comments
Labels

Comments

@nathanclevenger
Copy link

I have a referenced_list field on a showView, and while perPage successfully sets the amount visible, there are no pagination controls to change pages. What am I missing?

Thanks in advance!

@fzaninotto
Copy link
Member

It's just not a feature we've implemented yet. Pagination is only implemented in listView.

I don't think it makes sense to embed a full datagrid, together with filters and pagination, in an edit or a show view. Would you mind sharing your use case?

@nathanclevenger
Copy link
Author

I would agree a full data grid wouldn't be necessary, but simple pagination would be quite valuable. My data model has contacts and categories. There are 120k contacts, which makes managing that directly in a listView a little out of control, and each contact can be within 'n' categories, but each category only has 5 to 500 contacts within it. I was hoping to use the category showView to manage the referenced contacts.

Without pagination, I just tried setting perPage(500) which will work for my use case, but is probably not ideal.

Thanks

@fzaninotto
Copy link
Member

Do you know that you can also link to the filtered listView? I generally find it much more user friendly, because then it's a complete datagrid that the user can modify.

@nathanclevenger
Copy link
Author

I didn't realize that - it's a great solution. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants