1. #121
    Sencha User
    Join Date
    Jun 2008
    Posts
    69
    Vote Rating
    1
    pouniok is on a distinguished road

      0  

    Default


    Hi,


    While upgrading from Ext 3.1.1 to Ext 3.2.1, we faced a problem with the GridFilters plugin.

    To explain, we have a FormPanel with some fields, and when we type in those fields, it activates the columns filters. This works perfectly, it's just a way to show the filters instead of having them hidden in the columns menus.

    But then, we have a report engine, to print the grid data. The report engine is using the parameters of the grid store to get the same results, and in the Ext 3.1.1 the GridFilters plugin was well saved in the store.lastOptions of the grid.

    Since Ext 3.2.1, the lastOptions object did not contain any information about the sent filters.

    Someone has a clue how I could fix this ? The plugin didn't seem to have changed, so maybe the store has a different way to handle requests, but I didn't find anything while looking for it.


    Thank you,
    Pouniok.

  2. #122
    Ext User jimm's Avatar
    Join Date
    Feb 2010
    Posts
    5
    Vote Rating
    0
    jimm is on a distinguished road

      0  

    Default How to uncheck filter data items in a Gridfilter?

    How to uncheck filter data items in a Gridfilter?


    Wonderful work. Using Ext 3 and have a question about clearing the checked filter data items. Not entirely clear how to do this. Our app has a "Clear Filter Data" button and clearFilters() unchecks the parent "Filter" in the menu pulldown, but not the data items in the filter list. We want to uncheck those. Suggestions? Thanks very much.

  3. #123
    Ext User
    Join Date
    Dec 2009
    Posts
    23
    Vote Rating
    0
    asbestos girl is on a distinguished road

      0  

    Default


    pouniok,
    did you upgrade your GridFilters files too, or just base ext libraries?

  4. #124
    Sencha User
    Join Date
    Dec 2007
    Location
    Netherlands
    Posts
    11
    Vote Rating
    0
    seg is on a distinguished road

      0  

    Default


    Don't know if this is a known issue, but when upgrading from 3.1.1 to 3.2.2 the booleanfilter is not working when using dynamic filter loading. It is because the property this.store.fields.get(dI).type.type is returning 'bool' instead of the expected 'boolean' value. You can change the getFilterClass to make it work again:

    getFilterClass : function (type) {
    // map the supported Ext.data.Field type values into a supported filter
    switch(type) {
    case 'auto':
    type = 'string';
    break;
    case 'int':
    case 'float':
    type = 'numeric';
    break;
    case 'bool':
    type = 'boolean';
    break;
    }
    return Ext.ux.grid.filter[type.substr(0, 1).toUpperCase() + type.substr(1) + 'Filter'];
    }

  5. #125
    Ext User
    Join Date
    Apr 2010
    Posts
    25
    Vote Rating
    0
    webtime is on a distinguished road

      0  

    Default


    Anyone can help me in adding this plugin to a dinamic grid (configured via json)???
    Thanks to all for answer...

  6. #126
    Sencha User
    Join Date
    Nov 2008
    Posts
    159
    Vote Rating
    0
    dizor is on a distinguished road

      0  

    Default


    In my case keyboard arrows doesn't work in textfield (string filter) - the same in examples. Any solutions?

  7. #127
    Ext User
    Join Date
    Apr 2010
    Posts
    25
    Vote Rating
    0
    webtime is on a distinguished road

      0  

    Default Help Please

    Help Please


    Anyone have some sample for configure filter via json (column model for dinamic grid) and not via filters var???
    Thanks for answer..

  8. #128
    Sencha User
    Join Date
    Sep 2010
    Posts
    51
    Vote Rating
    2
    ExTriqui is on a distinguished road

      0  

    Default


    You mean this?:
    Code:
    columns: [
    	{dataIndex: "customer", header: "Customer", width: 2, filter: {type: "string"}},
    	{dataIndex: "credit", header: "Credit limit", width: 1, filter: {type: "float"}}
    ]
    Last edited by ExTriqui; 4 Nov 2010 at 4:08 AM. Reason: Better visualization

  9. #129
    Touch Premium Member msinn's Avatar
    Join Date
    Jul 2009
    Location
    in front of my pc
    Posts
    280
    Vote Rating
    5
    msinn is on a distinguished road

      0  

    Default


    maybe that could help you:

    ext/examples/ux/gridfilters/GridFilters.js line 75
    ext/examples/grid-filter-local.js line line 87
    http://dev.sencha.com/deploy/dev/exa...id.GridFilters
    First I would like to thank you for your time and knowledge

    Win 7 Ext JS 4.1.3 IE(6-9), FF17

  10. #130
    Ext User
    Join Date
    Apr 2010
    Posts
    25
    Vote Rating
    0
    webtime is on a distinguished road

      0  

    Default


    Quote Originally Posted by ExTriqui View Post
    You mean this?:
    Code:
    columns: [
        {dataIndex: "customer", header: "Customer", width: 2, filter: {type: "string"}},
        {dataIndex: "credit", header: "Credit limit", width: 1, filter: {type: "float"}}
    ]

    Yes, but nothing appear in header menu...
    Have you some example of grid definition with this type of configuration (column model via json)??
    ThankS!!!!!!!

Thread Participants: 84

  1. VinylFox (1 Post)
  2. galdaka (2 Posts)
  3. Condor (10 Posts)
  4. cgi-bin (4 Posts)
  5. Fabyo (8 Posts)
  6. fshort (1 Post)
  7. digitalkaoz (1 Post)
  8. steffenk (2 Posts)
  9. brookd (1 Post)
  10. jamie.nicholson (1 Post)
  11. sawan (1 Post)
  12. froamer (1 Post)
  13. jaquet (1 Post)
  14. KevinChristensen (1 Post)
  15. bernd01 (2 Posts)
  16. tonedeaf (7 Posts)
  17. seg (1 Post)
  18. calavera (5 Posts)
  19. httpdotcom (1 Post)
  20. Timido (3 Posts)
  21. mfrancey (1 Post)
  22. WixSL (1 Post)
  23. drieraf (1 Post)
  24. nickweavers (2 Posts)
  25. goofy (1 Post)
  26. mynameisyoda (1 Post)
  27. manilodisan (1 Post)
  28. eyetv (1 Post)
  29. renoye (3 Posts)
  30. pouniok (2 Posts)
  31. mcouillard (6 Posts)
  32. Scorpie (1 Post)
  33. wiznia (1 Post)
  34. fulfowi (2 Posts)
  35. benmclendon (1 Post)
  36. roemisch (2 Posts)
  37. zeruyo (1 Post)
  38. dizor (1 Post)
  39. SunWuKung (5 Posts)
  40. mx_starter (1 Post)
  41. jimtyp (2 Posts)
  42. nitingautam (1 Post)
  43. westy (2 Posts)
  44. slemiere (1 Post)
  45. mike2406 (2 Posts)
  46. msinn (12 Posts)
  47. RanmaSaotome (1 Post)
  48. cnicolas (2 Posts)
  49. lsaffre (1 Post)
  50. astraschedule (1 Post)
  51. hankin (2 Posts)
  52. mrinaljena (1 Post)
  53. dtex-lab (1 Post)
  54. yohnan (2 Posts)
  55. Override (2 Posts)
  56. hjones (1 Post)
  57. hexawing (1 Post)
  58. taronja (6 Posts)
  59. asbestos girl (7 Posts)
  60. stalek (1 Post)
  61. mpawlowski (1 Post)
  62. DerSalz (1 Post)
  63. jimm (1 Post)
  64. blueberrymuffins (2 Posts)
  65. gleskinen (1 Post)
  66. pmdarrow (1 Post)
  67. Fallen Zen (1 Post)
  68. filippo.ferrari (6 Posts)
  69. george4rotech (2 Posts)
  70. Ebpo (1 Post)
  71. Reimius (1 Post)
  72. webtime (9 Posts)
  73. Christiand (1 Post)
  74. Oliver Specht (1 Post)
  75. novaku (1 Post)
  76. sizemorew (1 Post)
  77. # eof (1 Post)
  78. ldonofrio (3 Posts)
  79. david777 (1 Post)
  80. ExTriqui (4 Posts)
  81. leowyatt (7 Posts)
  82. JSassy (1 Post)
  83. hachie (1 Post)
  84. radmila80 (1 Post)