PDA

View Full Version : [CLOSED] How to change the page size



Oliver
Aug 31, 2012, 9:39 PM

Daniil
Sep 03, 2012, 8:41 AM
Hi,


How can I intecept the event

Please use the Collapse and Expand events.
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.panel.Panel-event-collapse
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.panel.Panel-event-expand


increase the page size to show more records when the panel is collapisabled.

The answer is here:
http://examples2.ext.net/#/GridPanel/ArrayGrid/ArrayWithPaging/

Please see the ComboBox Select listener.


<Select Handler="#{GridPanel1}.store.pageSize = parseInt(this.getValue(), 10); #{GridPanel1}.store.load();" />

Oliver
Sep 03, 2012, 1:53 PM