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

How to set column max width to width of grid

3 Answers 337 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 1
Joshua asked on 11 Apr 2011, 11:38 PM
How do I set the max column width to the width of the grid?

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 12 Apr 2011, 07:18 AM
Hello Joshua,

You may try to set the Width property of a column or the ColumnWidth property of the grid to "*".

Kind regards,
Maya
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
Joshua
Top achievements
Rank 1
answered on 12 Apr 2011, 09:10 AM
There seems to be a bug when the contents of the column is very large and the column width is not set to star, the grid data appears blank unless you resize the grid.



I have the source files of a sample without the dlls here:
http://www.megaupload.com/?d=201BKH6V
0
Maya
Telerik team
answered on 15 Apr 2011, 09:24 AM
Hi Joshua,

Based on the code snippets provided, I have tried to reproduce the issue you reported, but without any success. I am sending you the sample project I used for testing the case. Please take a look at it and let me know in case of any misunderstandings. Furthermore, may you provide a bit more information about the version of RadControls that you are working with?
 

Greetings,
Maya
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
Tags
GridView
Asked by
Joshua
Top achievements
Rank 1
Answers by
Maya
Telerik team
Joshua
Top achievements
Rank 1
Share this question
or