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

[Solved] How to enable the Grid Horizontal Scrollbar

1 Answer 239 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Paul
Top achievements
Rank 1
Paul asked on 30 Aug 2010, 08:51 PM
I am using the 2010.2.825 version of the Telerik Extensions for ASP.NET MVC and my current client would prefer to stick with a fixed width layout for their site.  Also they want more columns than will actually "nicely" fit in this new layout width.  They would prefer that I let them scroll using a horizontal scroll bar to see a few of the columns on the far right of the grid since those columns aren't always used by the user. 

Is this possible?  If so how do I accomplish this?  I see a horizontal scroll bar on my current grid but it only shows up when I have a column hidden and I can't seem to figure out how to stop the grid from auto resizing the columns to fit within the width of my page.

Thanks,
Paul

1 Answer, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 31 Aug 2010, 02:55 PM
I figured out how to do this by reading this forum post on the RadGrid forum: http://www.telerik.com/community/forums/aspnet/grid/radgrid-won-t-show-horizontal-scrollbar.aspx

All you have to do is set the widths of all the columns so that they are greater than the width of the grid and you will automatically get the horizontal scrollbar.

-Paul
Tags
Grid
Asked by
Paul
Top achievements
Rank 1
Answers by
Paul
Top achievements
Rank 1
Share this question
or