View Full Version : [SOLVED] GridPanel height problem

Digital God
28 Mar 2010, 11:15 PM
I've FormPanel with grid and form, like in example "Binding a Grid to a Form".
FormPanel has column layout and column with grid has fit layout.

FormPanel settings:

SB.client.List = Ext.extend(Ext.FormPanel,{
layout: 'column'
,frame: true
,border: false
,id: 'clientListForm'
,title: '?????? ????????'
,initComponent: function(){
var clientGrid = new SB.client.ListGrid();

Ext.apply(this, {
items: [{
columnWidth: 0.60,
layout: 'fit',
items: [clientGrid

If i set formpanel layout to "fit" - grid height is ok.

28 Mar 2010, 11:27 PM
Column layout doesn't set the height. Use a hbox layout instead, with align set to stretch.