swlego

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: client side sorting #95362
    swlego
    Participant

    UPDATE, this doesn't work as expected. The pager is not updated with values for “total”, “page”, and “records” passed in the JSON string when using loadOnce, but it is when loadOnce is disabled, but then of course sorting doesn't work. I think there's a bug in here somewhere.

    in reply to: client side sorting #95361
    swlego
    Participant

    FYI, I was able to get this working by setting {loadonce: true} when I initialize the grid. Seems like that should just duplicate the functionality of the loadComplete: function(){} mentioned in this tutorial: /jqgridwiki/doku.php?id=wiki:howto_grid_base#client_side_sorting_but_server_side_paging

    But for some reason adding the loadonce:true did the trick for me. Go persistence!

    Fantastic toolset by the way. Awesome work!

    just for clarity

    jQuery(“#gridID”).jqGrid({

    in reply to: client side sorting #95359
    swlego
    Participant

    I'm having the exact same problem. I'd love to hear a solution.

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

Stay connected with us in your favorite flavor!