私は、2列を持っていたいと思うグリッドパネルを持っています。最初の列の幅を100、2列目をグリッドパネルの残りの幅にします。ExtJSグリッドパネル列幅+ forcefit
アイデア?
EDIT
sensorListPanel = new xg.GridPanel({
id: 'sensorListPanel',
region: 'west',
width: 415,
viewConfig: {
forceFit:true,
//fitcontainer:true
},
store: sensorStore,
cm: new xg.ColumnModel({
defaults: {
width: 120,
sortable: true
},
columns: [
smSensors,
{id:'Station',header: "Station", width: 95, dataIndex: 'gml_id'},
{id:'Description', header: "Description", dataIndex: 'description'}
]
}),
sm: smSensors,
columnLines: true,
title:'Sensors',
});
私がそうすると、列は2に分割され、均等に広がります。ちょうど私が掲示したコードを見てください。ありがとう!!! – gberg927
カラムモデルのデフォルト設定から幅を削除 – MMT
チェックhttp://jsfiddle.net/Bx4Bx/ – MMT