布局之accordion布局
2011年03月01日
使用EXT输出HelloWorld Ext.onReady(function(){ Ext.BLANK_IMAGE_URL='./../ext/resources/images/def ault/s.gif'; var panel = new Ext.Panel({ width: 600, height: 500, title: '父面板', layout: 'accordion', renderTo: 'form', items:[{ title: '面板一', items:[{title: '子面板1'},{title: '子面板2'},{title: '子面板3'}] },{ title: '面板二', items:[{title: '子面板1'},{title: '子面板2'},{title: '子面板3'}] },{ title: '面板三' }] }); });
2011年03月01日
使用EXT输出HelloWorld Ext.onReady(function(){ Ext.BLANK_IMAGE_URL='./../ext/resources/images/def ault/s.gif'; var panel = new Ext.Panel({ width: 600, height: 500, title: '父面板', layout: 'accordion', renderTo: 'form', items:[{ title: '面板一', items:[{title: '子面板1'},{title: '子面板2'},{title: '子面板3'}] },{ title: '面板二', items:[{title: '子面板1'},{title: '子面板2'},{title: '子面板3'}] },{ title: '面板三' }] }); });
本文将介绍如何使用EXT JavaScript库实现Accordion布局,通过创建可折叠面板展示多个子内容区域,适用于需要组织和展示大量信息的场景。
419

被折叠的 条评论
为什么被折叠?



