PDA

View Full Version : Ext.ux.PagingToolbarResizer



loiane
21 Sep 2011, 4:45 AM
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-paging-toolbar-resizer

qooleot
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;
gridStore.load();
}
}