Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #191
    Sencha User
    Join Date
    Feb 2008
    Posts
    156
    Vote Rating
    1
    WixSL is on a distinguished road

      0  

    Default


    Don't delete the filters, I need them for reuse:

    Code:
    Ext.ux.grid.GridFilters = Ext.extend(Ext.util.Observable, {
         //...
    
        /** @private */
        constructor : function (config) {
            config = config || {};
            this.deferredUpdate = new Ext.util.DelayedTask(this.reload, this);
            this.filters = new Ext.util.MixedCollection();
            this.filters.getKey = function (o) {
                return o ? o.dataIndex : null;
            };
            this.addFilters(config.filters);
            //delete config.filters;
            var filters = config.filters;
            Ext.apply(this, config);
            config.filters = filters;
        },

  2. #192
    Sencha User
    Join Date
    Apr 2007
    Posts
    66
    Vote Rating
    0
    cgi-bin is on a distinguished road

      0  

    Default Use sorted vales from store for ListMenu

    Use sorted vales from store for ListMenu


    I was frustrated that the ListMenu wasn't using the configured store's sorted values... so I fixed it:

    Change ListMenu.js : in the onLoad function (line 116-ish).

    Change:
    PHP Code:
       for(var i=0len=records.lengthi<leni++){
                var 
    item = new Ext.menu.CheckItem({
                    
    text:    records[i].get(this.labelField),
                    
    group:   gid,
                    
    checkedthis.selected.indexOf(records[i].id) > -1,
                    
    hideOnClickfalse});

                
    item.itemId records[i].id;
                
    item.on('checkchange'this.checkChangethis);

                
    this.add(item);
            } 
    To:
    PHP Code:
        store.each
            
    (
                function(
    rec)
                {
                    var 
    item = new Ext.menu.CheckItem
                    
    ({
                        
    text:            rec.get(this.labelField),
                        
    group:            gid,
                        
    checked:        this.selected.indexOf(rec.id) > -1,
                        
    hideOnClick:    false
                    
    });

                    
    item.itemId rec.id;
                    
    item.on('checkchange'this.checkChangethis);

                    
    this.add(item);
                },
                
    this
            
    ); 
    Basically the store's onLoad calls the filter's onLoad, but the filter's onLoad was using the raw store records. I changed it to use the store object directly which would already have the sorting done by that point (applySort is called before onLoad is fired).

    This only uses the store's default sort (when sortInfo is defined). It does not change the menu if the store is re-sorted... if you want that, you'd probably need to have the filter listen for the store's dataChanged event and call the filter's onLoad again to re-create the menu.

  3. #193
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    7
    Vote Rating
    0
    radmila80 is on a distinguished road

      0  

    Default


    I realize this response is too late, but maybe it will help someone else. In order to accept filter as a single parameter on java side, encode must be set to true.

  4. #194
    Sencha Premium Member
    Join Date
    Jan 2009
    Location
    India
    Posts
    57
    Vote Rating
    0
    nitingautam is on a distinguished road

      0  

    Default


    What about date based filtering, do we need to make column model config as date also?
    Knowledge is power share it

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)