-
24 Feb 2011 12:15 PM #1
[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 } } }] });
-
24 Feb 2011 12:24 PM #2
After some more browsing i noticed this was already fixed.

Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FIXED-735] Wrong Disabled Refresh Button on a disabled paging toolbar
By dtex-lab in forum Ext 3.x: BugsReplies: 1Last Post: 28 May 2010, 4:27 PM -
bug: TreeNodeUI shouldn't have disabled state
By Kevin Krouse in forum Ext 2.x: BugsReplies: 1Last Post: 6 Sep 2008, 11:01 AM -
[2.1] DataView ignores disabled state
By meej in forum Ext 2.x: BugsReplies: 0Last Post: 31 Jul 2008, 11:21 AM -
Binding a Button's disabled/enabled state to a Form's validity state
By yarmy in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 12 Nov 2007, 11:11 AM


Reply With Quote