Extjs 左侧菜单树//accordion布局模式,后台取值动态加载如何实现
varwestRegion=newExt.Panel({region:'west',id:'west_panel',iconCls:'tabs',title:'菜单导航'...
var westRegion = new Ext.Panel({
region:'west',
id:'west_panel',
iconCls: 'tabs',
title:'菜单导航',
split:true,
width: 200,
minSize: 175,
maxSize: 400,
//collapsible: true,
layout:'accordion', //accordion布局模式
layoutConfig:{
animate:true
},
items:[{
title:'管理'
},{
title:'分配'
}]
});
var viewport = new Ext.Viewport({
layout:'border',
items:[
northRegion,
westRegion,
centerRegion
]
});
westRegion 的itmes里面是后台查询出来的,是 //accordion布局模式 ,,怎么做。。。。知道的给点建议 展开
region:'west',
id:'west_panel',
iconCls: 'tabs',
title:'菜单导航',
split:true,
width: 200,
minSize: 175,
maxSize: 400,
//collapsible: true,
layout:'accordion', //accordion布局模式
layoutConfig:{
animate:true
},
items:[{
title:'管理'
},{
title:'分配'
}]
});
var viewport = new Ext.Viewport({
layout:'border',
items:[
northRegion,
westRegion,
centerRegion
]
});
westRegion 的itmes里面是后台查询出来的,是 //accordion布局模式 ,,怎么做。。。。知道的给点建议 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询