1.树形代码如下:
this.treepanel = new Ext.tree.TreePanel({
title : '指标参数分类',
region : 'west',
collapsible : true,
autoScroll : true,
split : true,
height : 800,
width : 180,
id : 'Unim_AssTarPar_Tree_Id',
tbar : new Ext.Toolbar({
items : [{
xtype : 'button',
iconCls : 'btn-refresh',
text : '刷新',
handler : function() {
var tree = Ext.getCmp('Unim_AssTarPar_Tree_Id');
tree.body.mask(__maskLoading, 'x-mask-loading');
tree.root.reload();
tree.root.collapse(true, false);
tree.root.expand(false, false, function() {