1
Как мне сделать сетку/таблицу в extjs auto expand в зависимости от размера окна? Благодаря я добавил макет: «подходят» .. я не изменилсяExtjs table/grid auto expand to full
var listView = Ext.create('Ext.grid.Panel', {
store: mystore,
multiSelect: true,
title:'Notifications for ' + jsonServiceId + ' <i>(0 items selected)</i>',
viewConfig: {
emptyText: 'No images to display'
},
//reserveScrollOffset: true,
renderTo: containerEl,
layout:'fit',
columns: [{
text: 'Sell',
flex: 10,
dataIndex: 'Sell',
renderer: function(value, metaData, record) {
// alert(record.get('Sell'));
}
},{
text: 'Class',
flex: 10,
dataIndex: 'ClassName'
},
{
text: 'Last Changed',
flex: 20,
dataIndex: 'LastChangedAt',
xtype: 'datecolumn',
format: 'd-M-Y h:i a'
}
]
});
ли эта помощь? http://stackoverflow.com/questions/2366211/is-there-any-way-to-get-an-extjs-gridpanel-to-automatically-resize-its-width-bu – artlung
@artlung Это сработало !!! благодаря :) – user244394