0
동일한보기에서 양식과 격자를 모두 연결해야하지만이 작업을 수행 할 수 없습니다 ... 어떻게 확장 할 수 있습니까?동일한보기에서 격자 및 양식
Ext.grid.Panel
및
Ext.form.Panel
내보기 코드가 같은입니다 ...
Ext.define('CustomerService.view.customer.AfterAddingTemplate',{
extend:'Ext.grid.Panel',
alias:'widget.aftertemplate',
requires:['Ext.form.Panel','Ext.grid.Panel'],
id:'afteraddingtemplate',
store:'StockCategoryStore',
autoResizeColumns:true,
//layout:'fit',
columnLines:true,
stripeRows:true,
autoHeight:true,
autoWidth:true,
initComponent:function(){
this.items=[{
xtype:'textfield',
fieldLabel:'something'
}];
this.columns=[
{
header:'Select a template',
flex:2
},
{header:'Category'},
{header:'Warehouse'}];
this.callParent(arguments);
}});