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.

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-5847 in a recent build.
  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    7
    Vote Rating
    0
    xsba is on a distinguished road

      0  

    Default BUG - [Ext 4.1 RC2] Ext.ux.grid.FiltersFeature removes dynamically added filters

    BUG - [Ext 4.1 RC2] Ext.ux.grid.FiltersFeature removes dynamically added filters


    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.1 RC2
    Browser versions tested against:
    • IE8
    • FF11 (firebug 1.9.1 installed)
    Description:
    • if filters was added dynamically before the menu was shown, Ext.ux.grid.FiltersFeature createFilters() method will remove all and will try to re-create filters from the config
    Steps to reproduce the problem:
    • create FiltersFeature with empty filters
    • add filters dynamically with addFilter() method
    • open headers menu, it will be without filters
    The result that was expected:
    • headers menu should contain Filters section
    The result that occurs instead:
    • headers menu doesn't contain Filters section
    Test Case:
    Code:
         
        this.filters = Ext.create('Ext.ux.grid.FiltersFeature', {       
            updateBuffer : 500,
            filters      : []
         });
    
         this.filters.addFilter({
            type      : 'string',
            dataIndex : 'id'
         });
    HELPFUL INFORMATION

    Debugging already done:
    • Ext.ux.grid.FiltersFeature createFilters() method removes all existing filters and tries to re-create filters from config or grid columns
    Possible fix:
    • not provided
    Additional CSS used:
    • only default ext-all.css
    Operating System:
    • Win7

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,519
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    7
    Vote Rating
    0
    xsba is on a distinguished road

      0  

    Default Ext 4.1

    Ext 4.1


    At the release notes to Ext 4.1 this one is marked as fixed, but unfortunately the fix causes new bug.

    Steps to reproduce:
    1. Create a grid.
    2. Reconfigure grid with new columns: reconfigure( [Ext.data.Store store], [Object[] columns] )
    3. try to use addFilter.
    4. filters menu will not be created.
    The problem is:
    Code:
    FiltersFeature.createFilters: function() { 
    257: Ext.Array.each(grid.columns, function (column) {
    
    FiltersFeature.addFilter : function (config) {
    591:columns = me.getGridPanel().columns,
    line 257 and 591 - it uses grid.columns, but columns can be a config object

    D
    uring Grid initialization the columns are overrided with new value:
    Code:
    me.columns = me.headerCt.items.items;
    but not after reconfigure method, so createFilters will skip new columns

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    14
    Vote Rating
    1
    rpieter is on a distinguished road

      0  

    Default This may be a solution?

    This may be a solution?


    I was able to work around this by modifying the FilterFeature-plugin (4.1) on line 312.
    I changed
    Code:
    if (!menuItem || menuItem.isDestroyed) {
    into
    Code:
    if (!menuItem || menuItem.isDestroyed || menu.getComponent('filters') === undefined) {
    and the item is now shown properly every time, even after rebuilding/reconfiguring the grid.

Thread Participants: 2