I have drilldown enabled on my Org Chart, but I want to load the page "already drilled down" to a specific Node ID
I'll know the Node ID when the page loads
So is this possible, and if so, how?
Thanks
3 Answers, 1 is accepted
0
Peter Filipov
Telerik team
answered on 27 May 2014, 07:59 AM
Hello Ian,
Thank you for contacting Telerik Support.
The RadOrgChart control has a client side API which allows to drill down on a particular node. Here is a code snippet how it could be done:
$find("RadOrgChart1").drillDownOnNode("0:0") //you should pass the hierarchical id of the Node.
I will be glad to assist you further.
Regards,
Peter Filipov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
I have attached a picture how the hierarchical index is determined. The id of the node is not involved in the calculation.. E.g. 0:0 means that the this is the first node of the root node. 0:1:0 this means that the node is the first child of the second child of the root node.
Regards,
Peter Filipov
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items