[CLOSED] GridFilters: customise menu & delayed filter firing

  1. #1

    [CLOSED] GridFilters: customise menu & delayed filter firing

    We are looking for a way to add into ListFilters a 'Select All' & 'Deselect All' option to make it easier for users. We already have a 'clear filters' button on a toolbar but would like this to be in the GridFilter menu itself. Do you know if this is possible?

    Finally, gridfilters are firing on each click/input.

    eg: listfilter options are "Low", "Med", "High" .. I click "Low" - the remote filter fires. I click "High" the remote filter fires again.

    Can we delay the filters somehow.. or, not apply them at all - but do this manually via a button? We'd rather not have it submit multiple requests to the server until the user has chosen all of their filter conditions.

    Thanks.
    Last edited by Daniil; Nov 05, 2012 at 3:29 PM. Reason: [CLOSED]
  2. #2
    Hi Peter,

    Quote Originally Posted by peter.campbell View Post
    We are looking for a way to add into ListFilters a 'Select All' & 'Deselect All' option to make it easier for users. We already have a 'clear filters' button on a toolbar but would like this to be in the GridFilter menu itself. Do you know if this is possible?
    I think it is possible, but there is no such built-in functionality.

    It needs to override an existing ListFilter (and/or a ListMenu one) JavaScript class or, maybe, create a new class inheriting from a ListFilter (and/or a ListMenu). The sources of a GridFilters class are here.
    <Ext.NET v1 sources root>\Ext.Net\Build\Ext.Net\ux\plugins\gridfilters\gridfilters.js
    Quote Originally Posted by peter.campbell View Post
    Finally, gridfilters are firing on each click/input.

    eg: listfilter options are "Low", "Med", "High" .. I click "Low" - the remote filter fires. I click "High" the remote filter fires again.

    Can we delay the filters somehow.. or, not apply them at all - but do this manually via a button? We'd rather not have it submit multiple requests to the server until the user has chosen all of their filter conditions.
    I would try to detach a BeforeLoad listener after grid rendering.
    store.un('beforeload', gridFiltersInstance.onBeforeLoad, gridFiltersInstance);
    Then, to cause filtering call:
    gridFiltersInstance.onBeforeLoad();
    It is for a remote filtering case.

Similar Threads

  1. [CLOSED] filter ValidateRecord not firing
    By GLD in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: May 23, 2012, 9:51 AM
  2. [CLOSED] Intercept filter change on GridFilters
    By Stefanaccio in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: May 12, 2010, 11:02 AM
  3. Hi,V1.0 Will it be delayed again
    By fancycloud in forum Open Discussions
    Replies: 5
    Last Post: Mar 31, 2010, 1:36 PM
  4. [FIXED] [V0.8.0] GridFilters filter box
    By methode in forum Bugs
    Replies: 3
    Last Post: Mar 02, 2009, 9:20 AM
  5. [CLOSED] AjaxEvent add filter to GridFilters plugin
    By methode in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 09, 2009, 12:14 PM

Tags for this Thread

Posting Permissions