jQWidgets Forums

jQuery UI Widgets Forums Grid Server side paging with json string

This topic contains 2 replies, has 2 voices, and was last updated by  dev_pepper 11 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Server side paging with json string #47238

    dev_pepper
    Participant

    Hi,

    I am trying to implement server side paging with jqwidgets’s grid control.
    I have seen a referecnce link,Which says how to implement server pagenation with a json array.
    But i need to implement pagenation with a json object ..

    Here is my json object ..how can i implement pagenation using this json object..

    {“TotalRows”:11,”all_records”:[{“id”:”cfde85fe-5fbe-47e0-a036-26b5ad11cf17″,”name”:”10 litter Can”},{“id”:”4948d5e1-c116-4107-80e8-a54ff1499cbf”,”name”:”10er Pack”},{“id”:”6e757aee-b037-49bd-b9b3-565b69f90b21″,”name”:”20’s Pack”},{“id”:”d55671f1-57f5-4611-a8d3-28979ffcca5e”,”name”:”Bag”},{“id”:”e1c5f896-d162-4c7d-a5c8-8497d998bb21″,”name”:”Bottile”},{“id”:”5e35f2ab-814a-497c-802d-d0ccae24dcc5″,”name”:”Can”},{“id”:”feb28662-f10a-4eb7-b116-8bac65045bd2″,”name”:”KG”},{“id”:”e96faf2a-7b64-4263-9293-d7c77e8d0d7c”,”name”:”Litter”},{“id”:”9eb60509-6371-4573-a8fa-c39035d72267″,”name”:”Pack”},{“id”:”e14219f8-aa5e-4664-ae8d-9877120ef8d9″,”name”:”Piece”},{“id”:”925ef734-6ee9-4115-9b71-15ed5fb0d1e4″,”name”:”test”}]}

    Thanks,

    Server side paging with json string #47245

    Peter Stoev
    Keymaster

    Hi dev_pepper,

    You may look at this live demo – http://www.jqwidgets.com/jquery-widgets-demo/demos/php/serverfiltering_paging_and_sorting.htm?arctic. It shows how to implement server paging with JSON.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Server side paging with json string #47271

    dev_pepper
    Participant

    Thanks Peter Stoev..It works

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.