Syntax for OrgChartExpandCollapseNodeCriteria

2 posts, 0 answers
  1. Thanh
    Thanh avatar
    15 posts
    Member since:
    May 2013

    Posted 09 May 2013 Link to this post

    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. 
  2. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 14 May 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top