I think this is simple question but I've been stuck on it for some time now. I have a treepanel and would like to be able to have a default selection. I first thought the selectPath method would be what I want, and that seems to work, but doesn't give any visual indication that a node is selected (highlighted). In the forums I have come accross references to node.ui.highlight() but that gives me 'Ext.fly(...) is null or not an object'.

What I would like to see is my treepanel with a node selected just as if the user just clicked on it.

Any help would be much appreciated.

Ext Team: I am still very new to Ext but have been quite impressed, keep up the good work.