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

Horizontal scrollbar in grid details area

1 Answer 92 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Moe Aboulkheir
Top achievements
Rank 1
Moe Aboulkheir asked on 15 Jul 2010, 05:23 PM
The HierarchyChildTemplate for my RadGridView is a layout Grid containing (among other things) another RadGridView.  The problem I am seeing is that when I expand a row, the child is sufficiently wide that a horizontal scrollbar is required.  Unfortunately, the horizontal scrollbar appears on the outer RadGridView's container, rather than on the details area for the nested grid. 

What's the cleanest way I could fix this?  I'm assuming I have to constrain the width of the Grid in the HierarchyChildTemplate somehow, but I'd like to do it in a way which will handle window resizes, etc.

See screenshot for example.

1 Answer, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 16 Jul 2010, 12:13 PM
Hi Moe Aboulkheir,

 You can place the Grid of the HierarchyChildTemplate in a ScrollViewer.

Best wishes,
Yavor Georgiev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Moe Aboulkheir
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Share this question
or