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

RadGrid Expands Content Area when using allowscroll=True in IE 7

2 Answers 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joshua Medor
Top achievements
Rank 1
Joshua Medor asked on 20 Jul 2010, 02:59 PM
I am using a radgrid where in the ClientSettings, I have AllowScroll="true" and UseStaticHeaders="true".  This grid is in a user control sitting on a webform that is loaded into a MasterPage content area.  What's happening is that the grid is sizing correctly on the page but the masterpage width and height are getting expanded based on the number of columns and rows we add to the grid.  In other words, it's as if the page is trying to account for the space occupied by the grid even though we set the scroll to true.  A thing to note about this is that I want the grid to horizontally scroll, so we deliberately are settings the pixels on each of the columns in the grid to exceed the width of the grid to invoke the horizontal scroll.  And after doing a little more testing, as soon as UseStaticHeaders is set to true, the effect described above occurs.  Have the headers locked in for vertical scrolling is essential, so we would like to keep the UseStaticHeaders set to true.  Any help would be greatly appreciated.  Thanks.

2 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 23 Jul 2010, 10:14 AM
Hello Joshua,

Please note that when grid with scrolling enabled is wrapped inside a table cell (under IE only) you may need to set the layout of the corresponding table to fixed to avoid unwanted stretching of the scrolling area:

<table style="table-layout:fixed;">
  grid definition
</table>

This is due to the specific IE box model.

Greetings,
Pavlina
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
0
Mark Perry
Top achievements
Rank 1
answered on 30 Sep 2010, 04:57 PM
I was having the same issue in IE 7. Thanks!
Tags
Grid
Asked by
Joshua Medor
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Mark Perry
Top achievements
Rank 1
Share this question
or