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

Increase the margins automatically in GridView

2 Answers 35 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Zhiyong
Top achievements
Rank 1
Zhiyong asked on 12 Aug 2010, 08:38 AM
My data columns only use the left part of the view, how can I take full use of the whole space instead of waste it. I have already use "stretch" in the horizontal side, it does not seem useful for this issue.

Thanks!
Joe

2 Answers, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 12 Aug 2010, 03:59 PM
Hello Zhiyong,

If you want to autosize your columns to fit the available space,set the GridView's ColumnWidth="*",or set the Width of the last column to "*".

Greetings,
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
Zhiyong
Top achievements
Rank 1
answered on 13 Aug 2010, 08:19 AM
Thanks!
zhiyong
Tags
GridView
Asked by
Zhiyong
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Zhiyong
Top achievements
Rank 1
Share this question
or