摘要:
{ region: 'west', collapsible: true, title: '导航菜单', xtype: 'treepanel', width: 200, autoScroll: true, split: true, loader: new Ext.tree.TreeLoader({dataUrl:'tree.aspx'}), root: { nodeType: 'async', text : 'root', draggable : false, id : '0' }, 阅读全文
摘要:
//左则菜单点击事件,重新刷新页面 Java代码 tree.on('click', function(node, e){ if(node.isLeaf()){ e.stopEvent(); //var autoLoad = {url:node.attributes.href}; tabPanel.add({ title:node.attributes.text, id: node.id, closable:true, minHeight:500, autoScroll:false, frame:true, html:'<iframe id="iframe 阅读全文