Results 1 to 2 of 2

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2009
    Vote Rating

    Default [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.


    var resourceJsonProxy = new{
                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{
                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
    Vote Rating

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts