jQuery UI Widgets Forums Grid Need state of checkbox filter

This topic contains 2 replies, has 2 voices, and was last updated by  rgburnap 11 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Need state of checkbox filter #17782

    rgburnap
    Participant

    How can I get the state (value) of the boolean checkbox filter in a filter row? Within the “filter” event handler there is no state information in the event or in any of the filter information objects from the getfilterinformation method.  How can one find the state of the filter?  Is there a function call I cannot find in the documentation?  Any help will be greatly appreciated.

    rgb

    • This topic was modified 11 years, 2 months ago by  rgburnap.
    • This topic was modified 11 years, 2 months ago by  Peter Stoev. Reason: Moved to Grid Forum
    • This topic was modified 11 years, 2 months ago by  rgburnap.
    Need state of checkbox filter #17860

    Peter Stoev
    Keymaster

    Hi rgb,

    You can use the following, if you have a checked list filter and applied filtering:

                    var info = $("#jqxgrid").jqxGrid('getfilterinformation');
    var filtersArray = info[0].filter.getfilters();
    for (var i = 0; i < filtersArray.length; i++) {
    var value = filtersArray[i].value;
    var condition = filtersArray[i].condition;
    }

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Need state of checkbox filter #18088

    rgburnap
    Participant

    Thank you very much, Peter. Where can I find the filter API so I need not bother you again?

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

You must be logged in to reply to this topic.