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

Width in grid

1 Answer 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Olo
Top achievements
Rank 1
Olo asked on 23 Feb 2009, 10:26 AM
Hi,
I'm trying to do something with radgrid.
I have 30 columns, and I set width of grid = 900px, and horizontal scroll doesn't appear. But if I set width of each columns scroll appears.
How to make: I'm not set width of columns and scroll (horizontal) appears when contents of columns is greater then width's grid?
Thank You.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 23 Feb 2009, 11:02 AM
Hi Olo,

It looks like the MasterTableView's TableLayout property is set to Fixed and you are using scrolling with static headers. In this case all columns are forced to fit inside the RadGrid horizontal space.

TableLayout can be set to fixed by you or by the RadGrid control itself (it is required by some of the control's features).

If you don't want to set column widths, please set some large width to the MasterTableView (in pixels).

Let us know if you need more information.

Best wishes,
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
Olo
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or