Hello GeoExt List,<br><br>I have a tree panel with some nodes/containers etc.  I want to be able to use setIconCls to change their iconCls <i><b>after</b></i> the tree has been created.  Unfortunately when I try to use this method I get an error in firebug tell me that setIconCls is not a function...what am I doing wrong here?<br>
<br>layerRoot = new Ext.tree.TreeNode({<br>                text: &quot;All Layers&quot;,<br>                expanded: true<br>            });<br><br>tibetContainer = new Ext.tree.TreeNode({<br>                text: &quot;Tibetan Labels&quot;,<br>
                expanded: true,<br>                id: &#39;tibet&#39;<br>            });<br><br>var layerTree = new Ext.tree.TreePanel({<br>                overflow: &#39;visible&#39;,     // For the Combo popup<br>                region: &quot;west&quot;,<br>
                title: &quot;Map Layers&quot;,    <br>                root: layerRoot,<br>                loader: new Ext.tree.TreeLoader({applyLoader: false}),<br>                enableDD: true,<br>                collapsible: true,<br>
                width: 300,<br>                autoScroll: true,<br>                expanded: false<br>            });<br><br>layerRoot.getOwnerTree().getNodeById(tibetContainer.id).setIconCls(&#39;myClass&#39;); //fails<br>
<br>Thanks for your time,<br><br>elshae<br><br><br>