Threaded View
-
6 Mar 2011 8:15 PM #1
Pager Size Selector Plugin for Paging Toolbar with cookies
Pager Size Selector Plugin for Paging Toolbar with cookies
Hi, i want to share this extension that i developed for selecting page size in the paging toolbar. With this plugin you will be able to select a page size of 10, 20, 25, 30, 50 with just one click.
Is a functionallity that you can add easilly to any grid panel. The plugin also could use a cookie to read the last selected page size for that grid or if you want to keep the same size for every grid in your application just keep the same cookie name in the plugin constructor.
Here is the example:
Code:var paging = new Ext.PagingToolbar( { pageSize: 10, store: store, displayInfo: false, plugins: [new Ext.ux.SlidingPager(), new Ext.ux.PagerSizeSelector( { cookieId: 'sliding' })] });
Hope you like it!Greivin Britton
My Extensions:
Ext.ux.NumericField: Number field with support for currencySymbol, thousand separator, international...
Ext.ux.PagerSizeSelector: A plugin that allows the change page size with just one click.
Ext.ux.FieldAccess: A plugin to let the user know which fields are editable.
Similar Threads
-
Why I can't clear the filters' cookies of the plugin grid filter
By safewolf in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 14 Mar 2008, 2:36 AM -
Text box size in Paging Toolbar(Ext2.0)
By cprabha in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 19 Feb 2008, 12:38 AM -
How to Increase the box size of page number in paging ToolBar(EXT 2.0)
By sorna_lavanya in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 16 Feb 2008, 11:49 PM -
PageSize plugin for Paging Toolbar
By rubensr in forum Ext 1.x: User Extensions and PluginsReplies: 0Last Post: 4 Oct 2007, 8:45 PM -
Grid pager toolbar buttons not shown
By Baggins in forum Ext 1.x: BugsReplies: 5Last Post: 12 Jan 2007, 9:29 AM



Reply With Quote