Page 2 of 2

For the 'total' local variable required for pagination, how do I acquire the number of returned objects from a query ser

Posted: Thu Sep 11, 2014 2:24 am
by Yurii Orishchuk

Hi Shawn,

Unfortunatly your question is not clear now.

Please specify what code you use and what do you want to get.

Also give us some screen shots about what you have.

Regards.


For the 'total' local variable required for pagination, how do I acquire the number of returned objects from a query ser

Posted: Thu Mar 19, 2015 1:53 pm
by Joe Sharples

Hi Yurii,

I'm having the same problem as shawn... If i use the limit parameter then data.length is what ever the limit value is.

for example I have 112 items in total, but if I use the limit parameter and set it at 30, then when I want to retrieve the total using data.length the value is 30, when it should be 112.


For the 'total' local variable required for pagination, how do I acquire the number of returned objects from a query ser

Posted: Thu Mar 19, 2015 1:59 pm
by Joe Sharples

I need the total storage variable to be dynamic


For the 'total' local variable required for pagination, how do I acquire the number of returned objects from a query ser

Posted: Mon Mar 23, 2015 4:41 am
by Yurii Orishchuk

Hi Joe,

You can not get all items (in accordance to current search criteria).

To get all items count (in accordance to current search criteria) you can use separate service with "count=1" parameter.

Please learn more about it here: https://devcenter.appery.io/documenta...

Regards.