布局之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: '面板三' }] }); });