View Full Version : Ext.ux.PagingToolbarResizer

21 Sep 2011, 4:45 AM

I ported a plugin which adds a combobox to the pagingtoolbar and the user can choose how many records he/she wants to see. It dynamically chances the pageSize config option of the pagingtoolbar.

Please let me know if anyone find any issues: https://github.com/loiane/extjs4-ux-paging-toolbar-resizer

21 Jun 2012, 10:48 AM
Hey nice plugin. One bug is that it doesn't work with a grid reconfigure. Instead of storing the grid's store at init I changed it to this:

listeners: {
select: function(combo, value, i){
var gridStore = combo.up('pagingtoolbar').store;
gridStore.pageSize = value[0].data.field1;

6 Feb 2014, 5:35 AM
Hi, I have used one of paging toolbar plugins and its seems that plugin throws some errors in firefox while perfectly working in chrome and IE

TypeError: Ext.FocusManager is undefined if (!me.focusListenerAdded && (!needsTabIndex || Ext.FocusManager.enabled))
{TypeError: Ext.data.Request is not a constructor
proxy: meTypeError: Ext.data.Request is not a constructor};

paging toolbar

{ xtype: 'pagingtoolbar', store: store, dock: 'bottom', displayInfo: true, plugins: [new Ext.create('Ext.ux.PagingToolbarResizer',{ options : [ 10,25,50,100,200,500,1000 ] }) ] }

6 Feb 2014, 5:47 AM
Hey on the latest 4.2.2 release, and latest firefox its not throwing any errors for me. You might want to create a full Sencha Fiddle example, with firefox version, and extjs version. As this isn't an official plugin, that might help others in the community advise you more efficiently.

1 Nov 2014, 7:39 PM

12 Mar 2015, 9:41 AM
I want to persist the drop down selection via a cookie