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

Details grid expands beyond chart region

1 Answer 23 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Philip
Top achievements
Rank 1
Philip asked on 19 Dec 2011, 10:55 PM
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

Sort by
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:

<ClientSettings>
      <Scrolling AllowScroll="true" ScrollHeight="300px" />    
</ClientSettings>

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
Tags
Grid
Asked by
Philip
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or