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

General Approach Design Suggestion

1 Answer 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
normalham2
Top achievements
Rank 1
normalham2 asked on 07 Oct 2008, 04:51 PM

I’m evaluating Telerik for my company and here is what I’m trying to accomplish.  If you have any suggestions please let me know.

 

I’ve got an org chart hierarchy of divisions, departments within divisions, department heads, and then employees under department heads.  Each level should be expandable / collapsible and each level has about 10 financial columns associated to it and the columns should line up and total.  The financial columns at the department head and employee level are editable. 

 

Option A) I’ve tried this with a self referencing hierarchy grid but the columns do not line up.  The exact problem with the hierarchy grid method is discussed in this forum.

http://www.telerik.com/community/forums/thread/b311D-hatdg.aspx

 

Option B) I’ve also tried this with the grid grouping.  The overall grid hierarchy looks good but I don’t know how to total within the aligned columns at the parent levels.  It seems I can only format a line of text on the row (not each column).

 

Option C) I’m now looking into drawing the entire grid myself including the expandable column and hiding and displaying rows with client javascript functions, but I’m hesitant with this approach.

 

Anyway, if you have any suggestions please let me know.
Todd

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 10 Oct 2008, 11:05 AM
Hello normalham2,

Thank you for the detailed explanation.

If you go for the self-referencing hierarchy presentation, the project from the knowledge base article pointed below illustrates how to align the nested levels under their parent:

http://www.telerik.com/support/kb/article/b454K-khh-b454T-bha-b454c-bha.aspx

Alternatively, you may consider using standard hierarchy and align the columns from the detail tables as demonstrated here.

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
normalham2
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or