You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
Hi Tha,
What I am missing in your code is the total number of items available in the collection. Without that, you can't calculate the number of pages.
the only thing you can do if that is not available is count what you know off. this means you can only page back to the data you got earlier.
Is that what you are trying to do?
Regards
Sander
Sander Elias
unread,
Apr 30, 2014, 11:18:45 PM4/30/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
Hi Tha,
I updated your plunker to implement the thing I talked about in my previous message. I left the implementation of the setPage and previous button for yourself.
If you can get the maxItems from the server, you are pretty much done.
Regards
Sander
Gabriel Aszalos
unread,
May 1, 2014, 4:23:43 AM5/1/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
It would be ideal to only put items that are connected to the view inside the $scope. There is no point in having that "getJSON" function in there, it'll just add extra operations to the digest cycle.
On Thursday, 1 May 2014 07:09:15 UTC+1, Tha Sophearak wrote:
thanks you very much, I'm nearly out of that right now.
Sander Elias
unread,
May 1, 2014, 4:46:20 AM5/1/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message