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.

I'm using ExtJS 3.4.0