Hi, I have a tree panel which after its rendered i want to access the html
this.sampleTree.on('afterrender', function()
{
GetHoldOfHTML();
}, this);
Is this the actual way to do this or could someone point me in the right direction
Is the tree loaded asynchronously (Ext.tree.AsyncTreeNode) or directly (Ext.tree.TreeNode)?
An asynchronously loaded tree won't have rendered the nodes yet in the afterrender event (you'll have to wait for the 'load' event).
If the tree is animated (animate is true by default) then the child nodes also won't be rendered in the afterrender event (you'll have to wait for the 'expandnode' event).