-
8 Mar 2011 10:47 AM #11
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
-
8 Mar 2011 10:58 PM #12
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
-
How can a grid panel expand height for additional rows, then scroll art a max height?
By surfyogi in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 12 Sep 2010, 8:33 AM -
TabPanel content Loading Mask 100% height
By vtulin in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 20 Jun 2010, 12:13 PM -
Layouts for fixed height window containing tabpanel with panels with different height
By Otake in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 9 Dec 2009, 8:24 AM -
Loading Mask not extending to full height
By borg in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 19 Nov 2009, 3:48 AM -
problem with minWidth/Height and maxWith/Height in resizable Object
By TAG in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 18 Aug 2009, 11:34 PM


Reply With Quote