1. #21
    Sencha User
    Join Date
    Jul 2009
    Location
    Alicante (Spain)
    Posts
    1
    Vote Rating
    0
    eriscae is on a distinguished road

      0  

    Default


    About datefield format in the filter, instead of:

    Code:
    filter: { xtype: 'datefield', dateFormat: 'Y-m-d H:i:s'  }
    try:

    Code:
    filter: { xtype: 'datefield', format: 'Y-m-d H:i:s'  }
    It works for me

    ExtJS 3.3.0
    Firefox 3.6.28

  2. #22
    Sencha User
    Join Date
    Aug 2011
    Posts
    25
    Vote Rating
    0
    Eugent is on a distinguished road

      0  

    Default


    Hello, i have a question about plugin work with checkbox fields. How i can configure this plugins for correct operation with checkbox? Event "change" does not corect.

  3. #23
    Sencha User
    Join Date
    May 2011
    Posts
    1
    Vote Rating
    0
    oliver.schulze is on a distinguished road

      0  

    Default Grid Header Filters in ExtJS 4.1 RC3

    Grid Header Filters in ExtJS 4.1 RC3


    Hello,

    first: great plugin, very useful.

    It works great with ExtJS 4.07, but I tried it with ExtJS 4.1 RC3, and there it doesn't work, there are two issues, I could not figure out how to fix it:

    1. Filtering is not working
    2. When Plugin is in a list within a tab panel an the panel is switched, then an error occurs. ExtJS tries to call something on ownerLayout for the headers additional containers, containing the filters' input fields... but the ownerLayout-Variable is not set.

    I need ExtJS 4.1 for some other issues, that where fixed (like radiogroup-handling, ...), so it would be great if the Grid Header Filters Plugin would also work there

    Thank you for helping!

  4. #24
    Sencha User
    Join Date
    Aug 2011
    Posts
    25
    Vote Rating
    0
    Eugent is on a distinguished road

      0  

    Default datefield does not filter

    datefield does not filter


    Hello, in use this plugin i have a column:

    {
    header: 'Дата',
    xtype: 'datecolumn',
    format: 'd.m.Y',
    dataIndex: 'DATE',
    filter: {
    xtype: 'datefield',
    format: 'd.m.Y'
    }
    },

    but when store is filtered it is no show results with input date. Can you help me?

  5. #25
    Sencha User
    Join Date
    Apr 2012
    Posts
    3
    Vote Rating
    0
    Rajagopla.bekkam is on a distinguished road

      0  

    Default combo loading from grid store

    combo loading from grid store


    Great Pluggin!

    But I have below problem , I am able to create combo in the filter header. but filter combo are empty. because I dont want to define filter values in combo like this
    'store : [['a','type1'],['b','type2']]

    I want these values load from gridstore that particular colummn,

    {header: "DAYS TO DEADLINE", width: 80, dataIndex: 'DAYS TO DEADLINE', sortable: true, filter: {xtype:"combo",'store : [['a','type1'],['b','type2']]
    ,mode:'local', filterName:
    "DAYS TO DEADLINE"}},


    Please suggest how to load these filter combo values from ..store:Gridstore..whic was defined for loading data into grid...

  6. #26
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    mik83only is on a distinguished road

      0  

    Default


    Quote Originally Posted by oliver.schulze View Post

    It works great with ExtJS 4.07, but I tried it with ExtJS 4.1 RC3, and there it doesn't work, there are two issues, I could not figure out how to fix it:

    Thank you for helping!
    I confirm, plugin doesn't work with 4.1

  7. #27
    Sencha Premium Member d.zucconi's Avatar
    Join Date
    Jun 2008
    Location
    Piacenza (Italy)
    Posts
    80
    Vote Rating
    5
    d.zucconi is on a distinguished road

      0  

    Default


    Quote Originally Posted by oliver.schulze View Post
    Hello,

    first: great plugin, very useful.

    It works great with ExtJS 4.07, but I tried it with ExtJS 4.1 RC3, and there it doesn't work, there are two issues, I could not figure out how to fix it:

    1. Filtering is not working
    I've tested the plugin with ExtJS 4.1.0 and simple remote JSON store linked to my grids for now and it seems to work properly.
    Trying to use local store, filters are applied but grid data is not refreshed. This could be caused by the missing refresh event that is not fired on filter apply. If you have a problem with local store, try to add the following lines into the reloadStore method:
    Code:
      
       {
          gs.sort();
       }
       else
       {
           gs.fireEvent('datachanged', gs);
           gs.fireEvent('refresh', gs);
        }
    }
    else
    {
        if(gs.snapshot)
        {
            gs.currentPage = 1;
            gs.data = gs.snapshot.clone();
            delete gs.snapshot;
            gs.fireEvent('datachanged', gs);
            gs.fireEvent('refresh', gs);
          }
      }

  8. #28
    Sencha User
    Join Date
    Apr 2012
    Posts
    3
    Vote Rating
    0
    Rajagopla.bekkam is on a distinguished road

      0  

    Default filtering is not applying till hit enter. ...

    filtering is not applying till hit enter. ...


    Thanks d.Zucconi,

    Ext js 4 grid header pluggin works great when I add this pluggin in my grid.

    I have found few problems with filter combo(as I made them as Combo).

    Filtering is not working with exact match. means. I have following example with column Values

    [[['1'],['type1'],[['12',['type2']],[['3'],['type3']]]..

    when I select ' type1'. in filter combo. I suppose to get only [[['1'],['type1']

    but I am getting '[[['1'],['type1'][['12',['type2']]. Basically, It is not doing exact match in the store.

    How Can I apply the filter for multiple values?. I knew it is available and works for ext js 3 or lower versions right now it is working only for one value of Filter

    Filtering is not applying till hit 'Enter' in keyboard. how can i make this so that filtering should be applied as soon select some value from filter combo. ?

    Can somebody give some suggestions?

  9. #29
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    finkelscott is on a distinguished road

      0  

    Default Separating Column Filters from Column Header

    Separating Column Filters from Column Header


    I need to create a row below the grid header to contain the column filters (for the purpose of styling the filters differently from the column headers). Any hints on how do this?

    Of course the column filters must move if the header is moved...



    Thanks in advance.

    ps: I should note that today the Filters work (via Ext.ux.grid.GridHeaderFilters) but are bundled together with the column headers. What I need is a separate row for the filters as depicted above.

  10. #30
    Sencha User
    Join Date
    Apr 2012
    Posts
    3
    Vote Rating
    0
    Rajagopla.bekkam is on a distinguished road

      0  

    Default How to configure more than one filter on same column for this pluggin in extjs 4

    How to configure more than one filter on same column for this pluggin in extjs 4


    Hi

    How to configure more than one filter on same column for this pluggin in ext js 4 grid ..?

    Can some body suggest on this?