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

3 Level Hierarchy

6 Answers 155 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Fred Mare
Top achievements
Rank 1
Fred Mare asked on 07 Feb 2012, 07:38 AM
Hi

I would like to create a 3 level Hierarchy created from a database stored procedure. Each level can have personnel assigned to it. How will I be able to this?

Thank You

6 Answers, 1 is accepted

Sort by
0
Fred Mare
Top achievements
Rank 1
answered on 08 Feb 2012, 07:26 AM
Hi

Based on the Rendered field example I have managed to create a datatable containing the 3 levels' descriptions and their parent relationship. A second table contains the personnel detail and the parentid they belong to. The chart displays but nodes without personnel does not display. Also is there a way to resize the nodes I have over 800 personnel and the scroll bars are right at the bottom of the page.

Thank You 
Fred  
0
Peter Filipov
Telerik team
answered on 08 Feb 2012, 12:30 PM
Hi Fred,

When a node from the data source does not have a parent to which to append to, the node will not be displayed. I am sending you a sample project showing how to manipulate the size of the GroupItems. Please review the attachment.

Regards,
Peter Filipov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Fred Mare
Top achievements
Rank 1
answered on 08 Feb 2012, 09:23 PM
Thank you for the help. My groups of nodes are displaying next to each other causing a long horisontal scroll. I would like each group to display beneath each other. I have an example of what I require

Thank You 
Fred  
0
Peter Filipov
Telerik team
answered on 10 Feb 2012, 11:00 AM
Hello,

The RadOrgChart provides groups (it is possible to have more than one item in it). Additionally you can group the items into columns by setting the ColumnCount property. Please review the following demo.

When you have SimpleBinding (no groups) it is not possible to group the items. It means that it is not possible to change the structure of the RadOrgChart.

We are considering to have an option to change the structure in SimpleBinding (for cases where the OrgChart is too long).

All the best,
Peter Filipov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Fred Mare
Top achievements
Rank 1
answered on 13 Feb 2012, 07:36 AM
Dear Peter

Thank you for your email. I would like my hierarchy to be in the format I attached previously. Currently it is still displaying horisontal. If possible could you provide an example how to do this, The demos are a bit vague in this regards.

Thank You
 Fred
0
Peter Filipov
Telerik team
answered on 15 Feb 2012, 02:39 PM
Hello,

In a SimpleBinding setup (only one item in a group) it is not possible to limit the count of the items on a row. The attached examples illustrate how you can limit the item count in Group-Enabled binding (remove the GroupColumnCount property to see the difference).

For the next releases we are going to implement powerful drill down functionality which will be helpful in SimpleBinding cases.

All the best,
Peter Filipov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
OrgChart
Asked by
Fred Mare
Top achievements
Rank 1
Answers by
Fred Mare
Top achievements
Rank 1
Peter Filipov
Telerik team
Share this question
or