[CLOSED] Missing getFilterData method

  1. #1

    [CLOSED] Missing getFilterData method

    Hi All,

    in the previous version of the grid I was able to use the "getFilterData" method to extract the current filter applied to the grid.
    Now it seems that the method has been removed.
    So, which is the best way to rewrite this code ?

        var f = grid.filters;
    
        if (!f) {
            f = grid.lockedGrid.filters;
            Ext.apply(extraParams, f.buildQuery(f.getFilterData()));
            f = grid.normalGrid.filters;
        }
    
        Ext.apply(extraParams, f.buildQuery(f.getFilterData()));
    Best regards,
    Alberto
    Last edited by Daniil; May 08, 2015 at 7:19 PM. Reason: [CLOSED]
  2. #2
    Hi Alberto,

    Please look at the getFilters JavaScript function in this example.
    https://examples3.ext.net/#/GridPane...dFilters_Local
  3. #3
    Hi Daniil,

    I managed to get the filters and send it back.
    You can close this thread.

    Thank you very much.
    Alberto

Similar Threads

  1. IntegerFilter missing ?
    By zwf in forum 2.x Help
    Replies: 1
    Last Post: Nov 28, 2012, 9:50 AM
  2. [CLOSED] AbstractComponent is missing the MarkInvalid method
    By SFritsche in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 07, 2012, 11:18 AM
  3. 2.0 Examples Missing?
    By Tbaseflug in forum 2.x Help
    Replies: 7
    Last Post: Jul 18, 2012, 1:41 PM
  4. Replies: 1
    Last Post: Jul 25, 2011, 9:59 AM
  5. missing dll
    By ashton.lamont in forum Examples and Extras
    Replies: 2
    Last Post: Jul 07, 2010, 10:59 PM

Tags for this Thread

Posting Permissions