1. #11
    Ext JS Premium Member NoahK17's Avatar
    Join Date
    Apr 2008
    Location
    Atlanta, GA
    Posts
    518
    Vote Rating
    1
    NoahK17 is on a distinguished road

      0  

    Default


    What does code formatted like this give you?

    Code:
    var grid = new Ext.grid.GridPanel({
        id: 'grid-id',
        autoHeight: true,
        store: storeName
    		
        title: 'Grid',
            
        columns:[
            { header: "Column 1", dataIndex: 'column1', width: 100, sortable: true},
            { header: "Column 2", dataIndex: 'column2', width: 100, sortable: true}
        ]
    });
    
    var panel = new Ext.Panel({
        id: 'panel-id',
        width: 500,
        items: [ grid ]
    });
    
    panel.render('div-id');
    Noah
    Senior Web Developer
    NBA.com

  2. #12
    Sencha User
    Join Date
    Nov 2009
    Posts
    58
    Vote Rating
    -1
    emils is on a distinguished road

      0  

    Default


    To summarize:

    1. in extjs layouts work perfectly.
    2. grid does not fill the entire height because you have an error in the code.
    3. when I look the code, i see you can try the following:

    Code:
    //    layout: 'border',
        initComponent: function() {
            layout: 'border',
            this.items = [

Similar Threads

  1. Replies: 1
    Last Post: 12 Sep 2010, 8:33 AM
  2. TabPanel content Loading Mask 100% height
    By vtulin in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 20 Jun 2010, 12:13 PM
  3. Replies: 2
    Last Post: 9 Dec 2009, 8:24 AM
  4. Loading Mask not extending to full height
    By borg in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 19 Nov 2009, 3:48 AM
  5. problem with minWidth/Height and maxWith/Height in resizable Object
    By TAG in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 18 Aug 2009, 11:34 PM

Thread Participants: 5

Tags for this Thread