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

Columns Fill All Available Space

2 Answers 459 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ristogod
Top achievements
Rank 2
Ristogod asked on 27 Oct 2010, 04:18 PM
How do you get a RadGridView's columns to expand to fill all of the available space of the RadGridView? Right now they are the size of the content inside and no larger and aligned left. I would like them to size fill in some manner.

2 Answers, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 29 Oct 2010, 04:01 PM
Hi Ristogod,

 
Set the ColumnWidth property of the RadGridView to star, e.g. ColumnWidth="*".

Kind regards,
Vanya Pavlova
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
Ristogod
Top achievements
Rank 2
answered on 29 Oct 2010, 04:27 PM
Oh, wow. Incredibly easy. I didn't even notice that property. I was looking at properties on the columns themselves. Thanks.
Tags
GridView
Asked by
Ristogod
Top achievements
Rank 2
Answers by
Vanya Pavlova
Telerik team
Ristogod
Top achievements
Rank 2
Share this question
or