Dec 10, 2012, 9:32 AM
Get TreePanel child nodes count
Hi,
I am trying to get count of child nodes of the first child node of the treepanel.
Thanks.
I am trying to get count of child nodes of the first child node of the treepanel.
<ext:TreePanel ID="treePanel" runat="server" Width="250" RootVisible="false"
Lines="false" EnableViewState="true" ViewStateMode="Enabled" >
</ext:TreePanel>
I can get the value using the below javascript code:#{treePanel}.getRootNode().childNodes[0].childNodes.length
Is there anyway i can access the same from server side code?Thanks.
Last edited by Daniil; Dec 13, 2012 at 3:41 PM.
Reason: Please use [CODE] tags