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

Folder Hierarchy

1 Answer 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Deepak
Top achievements
Rank 1
Deepak asked on 30 Nov 2011, 07:22 PM
Hi,
 Can we have folder style hierarchy for many to many relationships?
If not how can I easily align the child view columns to its parent. The gird that I am using have the same column headers for all views. I am using ViewDefinitions and the column headers are quite complex and can have around 6 rows (just headers). Also while expanding the hierarchies (can go to n levels), I get scroll bar hell.

Thanks
Deepak

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 05 Dec 2011, 10:42 AM
Hi Deepak,

You can remove scrollbars for inner levels using this property:

radGridView1.UseScrollbarsInHierarchy = false;

The RadGridView control does not support many to many relation hierarchy with suitable UI presentation out of the box. You can setup manually many to many relation adding GridViewTemplate for second and third level with the same columns schema and same DataSources, but the result will be more complex and this can decrease the performance of your application.

You can try to use our RadTreeView control to present your data.

I hope this information is useful. Let me know if you need further assistance.

Greetings,
Julian Benkov
the Telerik team

Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

Tags
GridView
Asked by
Deepak
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or