listeners:{ 'render' : function(){ this.tb = new Ext.Toolbar({ renderTo:Ext.Mytree.tbar, //tree或grid items:[{ xtype:"label", text:"在每条记录上右键弹出菜单进行下一步操作", height:21, 40, style:"font-size:12px;padding:5 0 0 0;color:red" }] }) this.tb.render(this.tbar); }}