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

[Solved] Grid loses horizontal scrollbar

3 Answers 140 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 29 Apr 2008, 07:29 PM
I have a scrolling grid with the first column frozen, like this:

<

radG:RadGrid ID="RadGrid1" runat="server" Skin="GHNSkin" OnNeedDataSource= "RadGrid1_NeedDataSource" AllowPaging="True" AllowSorting="True" ShowFooter="True" AllowFilteringByColumn="True" Width="990px" OnItemDataBound="RadGrid1_ItemDataBound" OnItemCreated="radGrd_ItemCreated" PagerStyle-AlwaysVisible="true" >

<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" FrozenColumnsCount="1"></Scrolling>
</ClientSettings>

I've found that using IE 7.0, if I click the Restore button (between the window minimize and close buttons), the scrollbar vanishes (along with the functionality). Clicking the restore button again does not fix the problem.

Suggestions?

Bill Osuch

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 30 Apr 2008, 06:39 AM
Hello Bill,

One possible solution may be to put fixes width in pixels for the columns of the control. This will ensure that they are not resized, and thus the scrollbar will be preserved.

Sincerely yours,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Bill
Top achievements
Rank 1
answered on 30 Apr 2008, 05:22 PM
I've noticed that removing the "FrozenColumnsCount" fixes the problem.

Setting a fixed column width also fixes the problem, but introduces another problem... Any data that now wraps to two lines is cut off - the row doesn't dynamically resize itself to be two rows of text high. I set the column width via:

<ItemStyle Width="200px">

Thanks.
0
Matt
Top achievements
Rank 1
answered on 30 Apr 2008, 05:59 PM
I just realized I posted this in the AJAX forum section, when I'm still using the grid for ASP.Net. I'll repost there, you can ignore this one.
Tags
Grid
Asked by
Matt
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Bill
Top achievements
Rank 1
Matt
Top achievements
Rank 1
Share this question
or