PDA

View Full Version : EXTJs 4 - Remove height config from grid panel dynamically



ramesh_jal
19 Nov 2015, 9:27 AM
Hi,

I have grid panel initially height set to 400 with below statement(based on records count). Now i have other grid panel (gridID2) from which i can select the records to be added/deleted to the below grid (gridID1), i can sucessfully add or delete records but the height is not shrinking automatically and its fixed. Is there a way i can achieve this? Your help is highly appreciated.

Ext.getCmp('gridID2').setHeight(400);

Gary Schlosberg
19 Nov 2015, 10:24 AM
Are you able to recreate this in a test case so we can see what might be happening?
https://fiddle.sencha.com/#home