Re: Counting in data service
Hi,
is there a way to call the dataservice for counting the results? This would be handy in cobination with limit and offset for pagination.
Regards
Daniel
The technical forum of the NBN Trust for use by the Network. It includes discussions and announcements on the NBN Atlas, Recorder 6 and Indicia |
You are not logged in. Please login or register.
Forum → Indicia Development → Counting in data service
Hi,
is there a way to call the dataservice for counting the results? This would be handy in cobination with limit and offset for pagination.
Regards
Daniel
This is the same as in the data services - just add wantCount=1 to the url parameters of the web service requiest. Take a look at the report_helper::report_grid code if you want to see an example.
As before, this is for indicia 0.7 onwards.
Cheers
Forum → Indicia Development → Counting in data service
Powered by PunBB 1.4.6, supported by Informer Technologies, Inc.