I am putting together a grid with an expanding details grid. When a row is expanded that is near the bottom, the details chart expands beyond the limits of the grid as shown in the attached image.
How can I make the expansion stay within the boudaries of the grid and give scroll bars when needed.
1 Answer, 1 is accepted
0
Andrey
Telerik team
answered on 22 Dec 2011, 01:13 PM
Hello Philip,
This issue is most often caused by wrapper control with fixed height in which RadGrid is nested. When the RadGrid's height become more than the wrapper's height and when scrolling is not enabled you are receiving this behavior.
You could easily resolve this issue by enabling the internal scrolling function of RadGrid with the following code, placed after the definition of MasterTableView object in ASPX file:
You could change the scroll height per your requirements, the default one is 300 pixels. If the RadGrid's height is not fixed you could change the scroll height at run time like is described in this help topic.
Give these suggestion a try and check whether the issue still persists.
Kind regards,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now