PDA

View Full Version : How to overlay html on top of TreePanel



dbassett74
17 Jul 2009, 7:42 PM
I need to implement my own "empty text" like feature of a TreePanel. When a certain condition exists, I want to overlay some html on the treepanel when no nodes are yet loaded. Any help would be appreciated.

Condor
17 Jul 2009, 11:06 PM
Try something like:

var text = treePanel.body.createChild({cn: 'Some text'});
...
Ext.removeNode(text);