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

UseStaticHeaders causes header problem

4 Answers 123 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Ron asked on 22 Jul 2011, 04:33 PM
When UseStaticHeaders=true and AllowScroll=true  and there is not enough data to cause the scroll bar to appear, the Header does not render properly where the scroll bar will be.  part of the header is not as tall as the rest.

This can be roughly corrected by setting the column widths, but when the grid is resized (due to moving splitter bars), the inconsistancy will show.
See attached

Using Skin="Office2007", but this appears to happen with all skins.

How can this be corrected?

4 Answers, 1 is accepted

Sort by
0
Galin
Telerik team
answered on 26 Jul 2011, 03:11 PM
Hi Ron,

Thank you for contacting us.

I tried to replicate the issue which you described, but to no avail.
Attached to this message, you will find the code which I used for testing.

Please, take a look at it and let me know if there are any differences at your end, which I may be leaving out.

Best wishes,
Galin
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Pavlina
Telerik team
answered on 26 Jul 2011, 03:17 PM
Hi Ron,

Thank you for contacting us.

I tried to replicate the issue which you described, but to no avail.
Attached to this message, you will find the code which I used for testing.

Please, take a look at it and let me know if there are any differences at your end, which I may be leaving out.

Best wishes,
Pavlina
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Ron
Top achievements
Rank 1
answered on 25 Apr 2012, 07:59 PM
This appears to be a problem when MasterTableView-TableLayout="Auto"
0
Pavlina
Telerik team
answered on 30 Apr 2012, 11:46 AM
Hi Ron,

The observed layout is expected if all columns have pixel widths. To avoid this behaviour please leave one column with no width. However, if the RadGrid control resizes together with its parent, this is not recommended, as the column with no width will become invisible if the RadGrid control becomes too narrow. A possible solution to this issue is to place the RadGrid control inside a container with a minimum width (min-width CSS style applied).

Here is some more information on column widths.

http://www.telerik.com/community/forums/aspnet/grid/best-practice-for-grid-and-column-widths.aspx#1214355

Kind regards,
Pavlina
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
Ron
Top achievements
Rank 1
Answers by
Galin
Telerik team
Pavlina
Telerik team
Ron
Top achievements
Rank 1
Share this question
or