1. #111
    Sencha User lsaffre's Avatar
    Join Date
    Aug 2009
    Location
    Estonia
    Posts
    34
    Vote Rating
    0
    lsaffre is on a distinguished road

      0  

    Default


    Thanks for this great plugin!

    I got an error message `type.substr is not a function` because the type of my store's fields is not a string but one of Ext.data.Types. Seems that the version contained in ExtJS 3.2.1 doesn't like it.
    I solved it by adding a line to the getFilterClass function:

    Code:
        getFilterClass : function (type) {
            // map the supported Ext.data.Field type values into a supported filter
            if (type.type) type = type.type; // <<<--- line added
            switch(type) {
                ...
    Luc

  2. #112
    Sencha User
    Join Date
    Apr 2010
    Location
    Warsaw, Poland
    Posts
    58
    Vote Rating
    0
    Fallen Zen is on a distinguished road

      0  

    Default


    I have a simple Filter on my grid. Question is, how can a list filter take the values directly from the grid without setting options? Column Producer holds the names of people. I cannot set all the possible options by hand. Thanks!

    Code:
    var viewerGridFilters = new Ext.ux.grid.GridFilters({
        encode: false,
        local: true,
        filters: [{
            type: 'list',
            dataIndex: 'Producer',
            options: []
        },{
            type: 'string',
            dataIndex: 'Project'
        },{
            type: 'string',
            dataIndex: 'Description'
        },{
            type: 'date',
            dataIndex: 'StartDate'
        },{
            type: 'date',
            dataIndex: 'EndDate'
        }]
    });

  3. #113
    Sencha User
    Join Date
    Jun 2010
    Location
    Buenos Aires, Argentina
    Posts
    213
    Vote Rating
    9
    ldonofrio will become famous soon enough

      0  

    Default


    You have to create a Store with the distinct names of the Producers and link it with the list filter, see the store config option of the list filter.

  4. #114
    Ext User
    Join Date
    Sep 2007
    Posts
    8
    Vote Rating
    0
    jaquet is on a distinguished road

      0  

    Default Filter options in separate panel

    Filter options in separate panel


    Hi all,

    I want to use the grid filter plugin, but I want the filter options to be in a separate Ext.panel, so that they are more visible than they are now, in the header. Does anybody know of some good examples on how to achieve this?

  5. #115
    Sencha User
    Join Date
    Jan 2008
    Posts
    16
    Vote Rating
    0
    Timido is on a distinguished road

      0  

    Default


    Hello,

    I downloaded ExtJS version 3.2.1, but cannot find this plugin within that distribution, nor the documentation (there's no "ux" node in the doc tree).

    I thought this plugin was included into version 3.x of ExtJS... am I wrong somewhere or do I need to install something more?

    Thank you!

  6. #116
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    83
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    User extensions can be found in the examples/ux directory of the SDK.

    Ext 3.2 didn't have ux documentation yet, but you can check the preliminary Ext 3.3 ux docs.

  7. #117
    Sencha User
    Join Date
    Jan 2008
    Posts
    16
    Vote Rating
    0
    Timido is on a distinguished road

      0  

    Default


    Thanks Condor


    Also, as for this:
    Quote Originally Posted by jaquet View Post
    Hi all,

    I want to use the grid filter plugin, but I want the filter options to be in a separate Ext.panel, so that they are more visible than they are now, in the header. Does anybody know of some good examples on how to achieve this?
    I am also interested in such a feature or maybe having the filter in a row... any clues?

  8. #118
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    83
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    1. Create a formpanel with the fields you want to use for filtering and a 'Search' button.
    2. Put both the formpanel and the grid in a container with border or vbox layout.
    3. In the search button handler either filter the store (if all records are already loaded) or load the store with the field values as parameters.

  9. #119
    Sencha User
    Join Date
    Jan 2008
    Posts
    16
    Vote Rating
    0
    Timido is on a distinguished road

      0  

    Default


    Sorry about this, having some troubles with actually installing the extension, or at least not really sure about it.

    Does it suffice to move ALL the content of ext-3.2.1\examples\ux\gridfilters (So the main GridFilters.js plus the other subdirectories) at my web site location and including GridFilters.js from within the HTML web page?

    (looks like it can find the class!)

    Thanks again for all!

  10. #120
    Sencha User
    Join Date
    Apr 2010
    Posts
    25
    Vote Rating
    0
    Oliver Specht is on a distinguished road

      0  

    Default Icon overlay in FF 3.6

    Icon overlay in FF 3.6


    Hi,
    I have a problem with the icons in the numeric filter.

    The icons are all in the first row where the input fields are positioned correctly.

    Just look at the screenshot and you will know what I mean.

    gridfilter_icon_overlay.png

    Can anyone help me out?

    Thanks,
    Oliver

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)