Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Pagination (far-future) #316

Open
jimmywarting opened this issue Oct 16, 2014 · 2 comments
Open

Pagination (far-future) #316

jimmywarting opened this issue Oct 16, 2014 · 2 comments

Comments

@jimmywarting
Copy link
Contributor

Thought this would be a discussion about how pagination should work.

For the scroll pagination solution i think it would be best if it depended on UI-scroll, rather then reinventing the wheel. It's fun when everything is more modular so we can improve small bits instead.
It would work more as an optional enhancement drop-in "If it exist we will use it" kind of thing.

I also found this Multi level menu recently and I thought it would be cool to have a kind of optgroup thing working like that

@boris-arkenaar
Copy link

The ui-scroll module seems like a great implementation to use for pagination/scrolling in ui-select.

I think an option would be nice to enable scrolling: scrolling: true.
On a complete dataset ui-select could create an object internally that would satisfy the api as specified by ui-scroll.
When the refresh functionality of ui-select is used (and scrolling is enabled) the user should make sure to let the refresh function return an object that conforms to the ui-scroll api.

@masscrx
Copy link

masscrx commented Nov 7, 2014

Similar to #221

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

No branches or pull requests

4 participants