I got something work using https://codepen.io/lamjaguar/pen/yOrVym and it works. I wanted to avoid server side paging as this is small and the list of items it will get back will get smaller and smaller as client cleans stuff up.
It just depends on how you wire the directive up... it doesn't have to be serverside implemented at all! - you just implement goToPage in your clientside code!
the main thing is it gives you the consistency of Umbraco backoffice paging interface.
In one discussion you've provided two useful resources for pagination in an Umbraco Angular controller one Client Side one Server Side (both of which have their advantages in different use cases)
umbraco angular paging directive
Guys,
I am working on a simple dashboard control which I have working looks like,![enter image description here](/media/upload/5955d831-736d-47dd-ad4c-6ff512c5b22a/Capture.PNG)
This is turning into a big list. So was wondering is there umbraco angular directive i can use to give me pagination?
Regards
Ismail
Hi Ismail
There is a an umbPagination directive that you can use in the Umbraco backoffice:
there is an example of wiring up, in my 'tribute' to your content review dashboard...
https://github.com/marcemarc/tooorangey.ContentReview/tree/master/PreReleaseBeta/tooorangey.ContentReview
if that helps?
regards
Marc
Marc,
I got something work using https://codepen.io/lamjaguar/pen/yOrVym and it works. I wanted to avoid server side paging as this is small and the list of items it will get back will get smaller and smaller as client cleans stuff up.
Regards
Ismail
Sorry for the confusion of the example!
It just depends on how you wire the directive up... it doesn't have to be serverside implemented at all! - you just implement goToPage in your clientside code!
the main thing is it gives you the consistency of Umbraco backoffice paging interface.
Thanks Marc & Ismail,
In one discussion you've provided two useful resources for pagination in an Umbraco Angular controller one Client Side one Server Side (both of which have their advantages in different use cases)
I've bookmarked these for future reference.
High Five you Both Rock
Matt
is working on a reply...