PDA

View Full Version : Format of JSON String for paging



Sai Dasika
12 Feb 2010, 1:29 AM
Hi,
I am able to display records in a single page.But when I Have a grid which should display 3 rows and consisting of 25 documents,does the following Array of JSON STring written to the grid display 3 records per page.



[{"NO":"1","Name":"sai"},{"NO":"2","Name":"dasika"},{"NO":"3","Name":"example"}],[{"NO":"1","Name":"a"},{"NO":"2","Name":"b"},{"NO":"3","Name":"c"}],...

The writing of This kind of JSON String to the grid didn't display any records
Thanx in advance,
Sai Dasika.

conorarmstrong
12 Feb 2010, 3:12 AM
it al depends on your code. can we see that?

for paging, the paging toolbar passes a start point and limit to the server and the server responds with the results on that page. server also passes back the number of results in total so the paging toolbar knows how many pages.

your description is far to brief to be able to give a better answer.