给ExtJs树节点添加提示
1 给树treeview增加事件监听
onFiletreeviewItemMouseEnter: function(dataview, record, item, index, e, eOpts) {dataview.tip = Ext.create('Ext.tip.ToolTip', {target: item,delegate: dataview.itemSelector,trackMouse: true,renderTo: Ext.getBody(),listeners: {beforeshow: function updateTipBody(tip) {tip.update(record.get('name'));}}});return false;}