PDA

View Full Version : maxHeight not working on gridPanel



jjmiller1980
30 Jun 2011, 6:57 AM
I have a gridPanel that I'm trying to set up with an autoHeight, and with a maxHeight of 280. The autoHeight portion works, but it seems to be ignoring the maxHeight. Here's my code:



var grid = new Ext.grid.GridPanel({
renderTo: gridDiv,
frame: false,
width: 321,
autoHeight: true,
maxHeight: 280,
store: junctionStore,
stripeRows: true,
columns: [
....
]
});


Any idea why this isn't working? Everything seems to be set up correctly according to what I see in the API (http://dev.sencha.com/deploy/ext-3.3.1/docs/?class=Ext.grid.GridPanel).

I'm using ExtJS 3.4.0

skirtle
5 Jul 2011, 9:18 AM
http://www.sencha.com/forum/showthread.php?31093
http://www.sencha.com/forum/showthread.php?138260