jQuery UI Widgets Forums Grid getfilterinformation and addfilter

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • getfilterinformation and addfilter #19546

    Klaus H
    Participant

    Hi,

    if I have the result of the method call from getfilterinformation stored in a JavaScript variable and I want to apply that filter again later, e.g. after user has applied other filters and wants to get back to that vies. What would be the easiest way to achieve that?

    I would first call the method clearfilters. I have not found a method to directly apply the return value of getfilterinformation, so I would need to loop through the array and apply each filter seperatly with the addfilter method or is there another method (or version of addfilter) that would do this?

    Kind Regards,
    Klaus

    getfilterinformation and addfilter #19603

    Peter Stoev
    Keymaster

    Hi Klaus,

    To add a filter group to the Grid, use the “addfilter” method. It accepts 2 params – data field and filter group.

    Best Regards,
    Peter Stoev

    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.