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

Horizontal Scroll Bar in Grid

1 Answer 142 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Avi
Top achievements
Rank 1
Avi asked on 30 Jun 2009, 11:05 AM
Hi,


I am having a grid  I wish to have static headers  to display.
so, i have added  following under client settings
<Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="500px"   />

Now i also wanted to have horizontal  scroll bars  so i kept the grid in a div

<div style="width:1024px; overflow-x:scroll">
My grid here
<div>

The problem is that it shows two Horizontal scroll bars in IE,
And in  FF  only one horizontal  scroll bar is shown, but it does not show the whole grid, and right most part is not shown even after scrolling to most right.

Please Help..

Also, can't we set the  scroll width   just like we had set ScrollHeight in above.

Thanks,
Avi

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 30 Jun 2009, 12:37 PM
Hello Avi,

Using two nested scrollable containers is not very usable. I recommend you to remove the outer <div> and use RadGrid scrolling only.

There is no ScrollWidth property, but you can set Width to the MasterTableView and/or column widths.

If you need more information or further assistance, please provide your RadGrid declaration.

Sincerely yours,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Avi
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or