jQWidgets Forums

jQuery UI Widgets Forums Grid clearfilters not working

This topic contains 1 reply, has 1 voice, and was last updated by  aserlanger 11 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • clearfilters not working #56971

    aserlanger
    Participant

    I have a grid with serveral columns using the standard filter row.
    If I select ‘null’ as a filtering criteria on the first column, the grid clears as expected.
    I click a button which executes
    $(‘#jqxgrid’).jqxGrid(‘clearfilters’,false);
    $(‘#jqxgrid’).jqxGrid(‘refresh’);

    The display resets as expected.
    I then go to a second column and select a value from a dropdown list.
    The display clears as though I had selected “null” in the first column.
    The only way to get the correct filtering is to manually go back to the first column and
    move the selection off “null” to some other condition – then the correct filtering is displayed.
    How can I get the first column not to affect the display even after the clearfilters call?
    Thanks

    clearfilters not working #56972

    aserlanger
    Participant

    Just to add – this behavior is also exhibited in the filter row example

    http://jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/index.htm#demos/jqxgrid/filterrow.htm

    Select null qty, grid clears. Click on remove Filter, grid repopulates.
    Select Cafe Americano, grid clears eventhough there are cafe americano records.
    Go back to qty and move to some other criteria, grid repopulates.

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

You must be logged in to reply to this topic.