jQWidgets Forums

jQuery UI Widgets Forums Grid jqxGrid remove filter query parameters

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 7 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • ChaseRLewis73003
    Participant

    We are using updatebounddata to update the grid on certain operations. We have a new item recently where we want to reload the grid but have their existing filters applied to the previous selection. Ideally I’d like to just call ‘updateboundata’ and have it work.

    However, if I call jqxGrid(‘updatebounddata’) or jqxGrid(‘updatebounddata’,’data’) it generates a 5k+ character query string and that trips max query length checks on our servers. I would prefer to not even send all that waste if possible and heighten the limits on our servers. Is there a way to tell jqxGrid not to do that?


    Hristo
    Participant

    Hello ChaseRLewis73003,

    If you want to save the existing filters you should use the “updatebounddata” method with argument “filter”.
    $('#jqxGrid').jqxGrid('updatebounddata', 'filter');
    About the data that you send to the server, I think this tutorial will be useful.
    Also, I would like to suggest you this tutorial about the filtering.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.