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.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2009
    Posts
    32
    Vote Rating
    0
    avsomeren is on a distinguished road

      0  

    Default [DUP][FIXED]PagerToolbar keeps paging images in disabled state

    [DUP][FIXED]PagerToolbar keeps paging images in disabled state


    I am trying out Ext 4 and i ran into something it think is a bug.
    I have hooked up a JsonStore into a grid. I added the PagingToolbar to the DockedItems.

    When the store is initialized and the data is loaded, the images on the PagingToolbar remain greyed out.
    The image click handlers operate properly, but the inactive state remains on the elements.

    PagingToolbar.jpg

    Code:
          
    var resourceJsonProxy = new Ext.data.HttpProxy({
                url: '/Resource/GetResources',
                model: 'ResourceItem',
                reader: {
                    type: 'json',
                    root: 'Data',
                    totalProperty: 'RecordCount',
                    messageProperty: 'ErrorMessage',
                    successProperty: 'Success'
                },
                actionMethods: {
                    create: 'POST',
                    read: 'POST',
                    update: 'POST',
                    destroy: 'POST'
                }            
            });
    
            var resourceStore = new Ext.data.JsonStore({
                remoteSort: true,
                remoteFilter: true,
                sortOnLoad: true,
                
                startParam: 'Start',
                limitParam: 'Limit',
                sortParam: 'Sort',
                filterParam: 'Filter',
                sortInfo: {
                    property: 'ResourcePath',
                    direction: 'ASC'
                },
                model: 'ResourceItem',
                proxy: resourceJsonProxy,
                listeners: {
                    load: this.onLoad,
                    scope: this
                }
            });
    
            var pageSize = 25;
    
            Ext.apply(this, {
                cls: 'resource-grid',
                store: resourceStore,
                dockedItems: [
                    new Ext.PagingToolbar({
                        store: resourceStore,
                        displayInfo: true,
                        displayMsg: 'Displaying resources {0} - {1} of {2}',
                        emptyMsg: "No resources to display",
                        pageSize: pageSize,
                        prependButtons: true
                    })            
                ],
                items: [{
                    itemId: 'resource-grid',
                    plugins: [{
                        pluginId: 'preview',
                        ptype: 'preview',
                        bodyField: 'ResourceValue',
                        previewExpanded: false
                    }],
                    headers: [{
                        text: 'Resource',
                        dataIndex: 'ResourcePath',
                        flex: 1,
                        renderer: this.formatTitle
                    }, {
                        text: 'Culture',
                        dataIndex: 'CultureCode',
                        hidden: true,
                        width: 200
    
                    }],
                    viewConfig: {
                        listeners: {
                            scope: this,
                            dblclick: this.onRowDblClick
                        }
                    }
                }]
            });

  2. #2
    Sencha User
    Join Date
    Jul 2009
    Posts
    32
    Vote Rating
    0
    avsomeren is on a distinguished road

      0  

    Thumbs up


    After some more browsing i noticed this was already fixed.

Similar Threads

  1. Replies: 1
    Last Post: 28 May 2010, 4:27 PM
  2. bug: TreeNodeUI shouldn't have disabled state
    By Kevin Krouse in forum Ext 2.x: Bugs
    Replies: 1
    Last Post: 6 Sep 2008, 11:01 AM
  3. [2.1] DataView ignores disabled state
    By meej in forum Ext 2.x: Bugs
    Replies: 0
    Last Post: 31 Jul 2008, 11:21 AM
  4. Binding a Button's disabled/enabled state to a Form's validity state
    By yarmy in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 12 Nov 2007, 11:11 AM

Tags for this Thread