1. #11
    Sencha Premium Member
    Join Date
    Dec 2007
    Posts
    45
    Vote Rating
    0
    bernd01 is on a distinguished road

      0  

    Default


    Hi drieraf!

    Thanks a lot! Working like a charm!

    Best regards,
    Bernd

  2. #12
    Ext User
    Join Date
    Aug 2009
    Posts
    14
    Vote Rating
    0
    astraschedule is on a distinguished road

      0  

    Default


    Looking great - especially the docs!

    Q1: The config arg to the constructor seems very optional now if you want to use the column model to define your filters - sadly the constructor requires it even if it's empty...

    Q2: It seems the columnModel usage of filters is limited to reconfigure? If I never reconfigure the grid, how can I get filters to come through the columnModel? Must be missing something.

    As a test, I edited the init method like so:

    Code:
                this.grid.filters = this;
    
                this.addFilters(grid.getColumnModel()); // added
                this.updateColumnHeadings(); // added
    This works, but is just a guess.

  3. #13
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    6
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    Those are bugs. I'll copy your post to the bugs forum.
    http://extjs.com/forum/showthread.php?t=77892

  4. #14
    Sencha User
    Join Date
    May 2007
    Posts
    113
    Vote Rating
    1
    Fabyo is on a distinguished road

      0  

    Default


    link download GridFilters?

  5. #15
    Sencha User calavera's Avatar
    Join Date
    Jan 2008
    Posts
    119
    Vote Rating
    0
    calavera is on a distinguished road

      0  

    Default


    So no sharing without the svn ?

  6. #16
    Sencha User
    Join Date
    May 2007
    Posts
    113
    Vote Rating
    1
    Fabyo is on a distinguished road

      0  

    Default


    Why not publish the link at once?

    if it continues, with a few plugins I start using extjs 2.x

  7. #17
    Ext JS Premium Member
    Join Date
    Dec 2008
    Posts
    85
    Vote Rating
    0
    jimtyp is on a distinguished road

      0  

    Default


    Any estimate on when this Grid Filter extension will be available? I really need grid filtering but may have to go back to version 2.2 if not available by the end of next week.

  8. #18
    Ext JS Premium Member
    Join Date
    Dec 2008
    Posts
    85
    Vote Rating
    0
    jimtyp is on a distinguished road

      0  

    Default


    Ah, never mind I see it won't be available until 3.1, mid-November :-(

  9. #19
    Sencha Premium Member froamer's Avatar
    Join Date
    Sep 2007
    Location
    London, UK
    Posts
    101
    Vote Rating
    2
    froamer is on a distinguished road

      0  

    Default Getting the Grid Filter Plug-in for Ext 3

    Getting the Grid Filter Plug-in for Ext 3


    I grabbed it from the Ext 3 Demo:
    http://extjs.com/deploy/dev/examples...ter-local.html

    However, I found that sorting and filtering grids with a horizontal scroll bar was a) not preserving the horizontal scroll pos and b) was not displaying the column headings correctly until after the grid was scrolled or resized.

    I don't know if this is by design, a bug or an incompatibility issue with the grid filter plug-in. So I put the following together until I can investigate further. It preserves the horizontal scroll pos onload (solves both my problems). I haven't found any problems with it yet...
    PHP Code:
    Ext.ux.GridViewPreserveHScroll Ext.extend(Ext.grid.GridView, {
        
    onLoad: function() {
            
    //overridden to preserve the horizontal scroll position
            
    this.scroller.dom.scrollTop 0;
        }
    }); 
    Use an instance of this as the grid view in your grid...
    PHP Code:
            clicksToEdit1,
            
    view: new Ext.ux.GridViewPreserveHScroll(),
            
    loadMasktrue,
            ... 
    Tested in the browsers I have: IE6, IE8, FF3.5, Chrome 2, Safari 4 (Windows)

    Doesn't work in Opera 9.64 for some reason - the headings display is not corrupted, but the horizontal scroll pos is not preserved.

  10. #20
    Ext User
    Join Date
    Aug 2009
    Posts
    13
    Vote Rating
    0
    hankin is on a distinguished road

      0  

    Default GridFilter as input box in column header

    GridFilter as input box in column header


    How would I go about customizing this filter to work as an input box in my column header instead of as part of the column header menu? The idea is that I would like to display the filters as part of the grid.
    Attached Images

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)