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

size columns to fit the grid size

2 Answers 75 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 05 Apr 2011, 03:25 PM
Good day,

Is there a way to "autofit" the columns in the grid? I want to display all columns in the grid. When the page it maximized I want to adjust the column sizes. Maybe use a checkbox to turn this on and off.

Thanks

-Markus

2 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 05 Apr 2011, 03:27 PM
Hi,

 You can set ColumnWidth="*" to achieve your goal. 

Kind regards,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mark
Top achievements
Rank 1
answered on 05 Apr 2011, 07:08 PM
Worked like a charm, thanks!
Tags
GridView
Asked by
Mark
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Mark
Top achievements
Rank 1
Share this question
or