Hybrid View

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    5
    Vote Rating
    0
    jjmiller1980 is on a distinguished road

      0  

    Question maxHeight not working on gridPanel

    maxHeight not working on gridPanel


    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:

    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

  2. #2

Thread Participants: 1

Tags for this Thread