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

Only one scrollbar when using a hierarchical grid

3 Answers 145 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Stephan
Top achievements
Rank 1
Stephan asked on 10 Dec 2008, 08:21 AM
Hi, I try to use the hierarchical grid. I can bind the hierarchical tables, but when I expand (it goes to three levels), I have multiple scrollbars. Each level seems to have it's own scrollbar. I was wondering if it would be possible only to have one scrollbar (a vertical scrollbar) on the right side, so each nested level should expand in full and show no scrollbars.

Hope I could make it clear what to achive.

Thanks

3 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 11 Dec 2008, 09:54 AM
Hello Stephan,

Thank you for this suggestion.

Currently RadGridView doesn't support this behavior. Nevertheless, you can set the ChildRowHeight property of GridTableElement to a large value. In this case the child view will open with a height enough to present all rows. Consider the code snippet below:

((GridTableElement)this.radGridView1.GridElement).ChildRowHeight = 1000; 

I hope this helps. Please let me know if you have any other questions.

Regards,
Jack
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mark
Top achievements
Rank 1
answered on 29 Aug 2012, 12:10 AM
Is there a WPF equivalent solution? An option to avoid scrolling the nested tables would be desireable to me as well.
0
Stefan
Telerik team
answered on 29 Aug 2012, 05:32 AM
Hi Mark,

This forum thread concerns RadControls for WinForms, not RadControls for WPF. Please address your question in the appropriate forums to get adequate response: http://www.telerik.com/community/forums/wpf/gridview.aspx.
 
Kind regards,
Stefan
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
GridView
Asked by
Stephan
Top achievements
Rank 1
Answers by
Jack
Telerik team
Mark
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or