-
21 Sep 2011 4:45 AM #1
Ext.ux.PagingToolbarResizer
Ext.ux.PagingToolbarResizer
Hi,
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-...oolbar-resizerSencha/Java evangelist
Author of ExtJS 4 First Look and Mastering Ext JS books
English blog: http://loianegroner.com
Portuguese blog: http://loiane.com
Sencha Examples: https://github.com/loiane
-
21 Jun 2012 10:48 AM #2
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:
Code:listeners: { select: function(combo, value, i){ var gridStore = combo.up('pagingtoolbar').store; gridStore.pageSize = value[0].data.field1; gridStore.load(); } }


Reply With Quote