This is a migrated thread and some comments may be shown as answers.

Syntax for OrgChartExpandCollapseNodeCriteria

1 Answer 17 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Thanh
Top achievements
Rank 1
Thanh asked on 09 May 2013, 06:41 PM
I am evaluating the orgchart right now.

I am trying to show 6 levels deep but collapse anything below the 3rd level initially.  When the user clicks on the + button to expand the node, it should expand.  The user can continue to do this until they get to the 6th level.  Then when the user wants to expand further than the 6th level, then I will need to do a client side on demand load to get more data (hopefully without repainting the whole orgchart).

So, for the 1st part, I would like to preload the orgchart up to 6 levels deep but collapse anything lower than the 3rd level.  I can't find much documentation on how to use the RAgOrgChart.collapseNodes method and the OrgChartExpandCollapseNodeCriteria . We are using simple binding.

Any help would be greatly appreciated.  Thanks. 

1 Answer, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 14 May 2013, 10:12 AM
Hello Thanh,

Straight to the point. All of the collapsed nodes will be loaded on demand. So it is not possible to achieve similar scenario.

Kind regards,
Peter Filipov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
OrgChart
Asked by
Thanh
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Share this question
or