This question is locked. New answers and comments are not allowed.
Assume there is a GridViewDataControl with auto width and some columns (e.g. 5).
When I resize the window, I wish that the columns content resize, but actually the rows 4 and 5 are cut off...
In Winforms I always used the option AutoSizeColumnsMode = Fill.
Is there an equivalent in Silverlight???
When I resize the window, I wish that the columns content resize, but actually the rows 4 and 5 are cut off...
In Winforms I always used the option AutoSizeColumnsMode = Fill.
Is there an equivalent in Silverlight???
4 Answers, 1 is accepted
0
Hello marcos,
Maya
the Telerik team
You may set the ColumnWidth property of the grid to "*":
<telerik:RadGridView Name="playersGrid" ColumnWidth="*" ItemsSource="{Binding Players}" AutoGenerateColumns="False">
Maya
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
marcos
Top achievements
Rank 1
answered on 15 Feb 2011, 11:04 AM
Unfortunately it doesn't work!
Could be the problem that i'm using the grid inside RadDocking?
That i'm using GridViewDataColumn.Header.TextWrapping (some columns only)?
That there is a time lag between parsing/building the gridview and receiving the itemsource data (via webservice)?
Could be the problem that i'm using the grid inside RadDocking?
That i'm using GridViewDataColumn.Header.TextWrapping (some columns only)?
That there is a time lag between parsing/building the gridview and receiving the itemsource data (via webservice)?
0
Hi marcos,
Maya
the Telerik team
I have tried to reproduce the issue you reported, but I was not able to. I am sending you the sample project I used for testing it. Please take a look at it and let me know in case of any misunderstandings.
Maya
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
marcos
Top achievements
Rank 1
answered on 16 Feb 2011, 02:36 PM
Hi Maya,
although i don't know yet what exactly was the problem I thank you for your example. I had to draw/write the entire xaml new - but now everything works like expected.
Thanks,
m.
although i don't know yet what exactly was the problem I thank you for your example. I had to draw/write the entire xaml new - but now everything works like expected.
Thanks,
m.