Wie Höhe festlegen zu ExtJs Grid?

Ich haben, Folgen Sie der Struktur:

TabPanel->FormPanel->Grid

Wie Höhe festlegen zu ExtJs Grid?

Und ich möchte set raster Höhe für alle freien Speicherplatz auf formpanle. Wenn ich, sagt layout:fit " in FormPanle ersten textfield bekommen alle Raum formpanel. Wie das zu tun, was ich will?

FormPanel:

var search = new Ext.FormPanel({
                labelAlign: 'top',
                frame:true,
                title: 'Поиск',
                //layout:'fit',
                viewConfig:{ forceFit: true },
                //bodyStyle:'padding:5px 5px 0',

GridPanel:

var searchTab = new Ext.grid.GridPanel({
    store: searchStore,
    region: 'center',
    cm: searchCm, 
    layout:'fit',
    selModel: new Ext.grid.RowSelectionModel(),
    stripeRows : true,
    height: 390,
    autoExpandColumn:'expColumn',
    loadMask: true,
    id: 'searchTab',
    title:'Найденные объекты',
    autoScroll: true,
InformationsquelleAutor Kliver Max | 2013-01-31
Schreibe einen Kommentar