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

[Solved] ColumnsWidthMode="Fill" in silverlight3

1 Answer 93 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sintayehu
Top achievements
Rank 1
Sintayehu asked on 23 Sep 2009, 01:53 PM

It is my understanding that Telerik has fixed the ColumnsWidthMode issue in SL2, Now columns fill the available Gridview realestate with the xaml below.

However if I have a Scrollviwer with an Auto Horizontalbar that wraps my rootlayout the ColumnWidthMode fill does not work any more.

How can i make this work?

<
TelerikGridView:RadGridView Margin="5" Grid.Row="3" x:Name="SomeGrid" ColumnsWidthMode="Fill" 

 

 AutoGenerateColumns="False" IsReadOnly="True" MinWidth="300" MaxHeight="100" > 

 

<TelerikGridView:RadGridView.Columns>

 

<TelerikGridView:GridViewDataColumn HeaderText="aaa" UniqueName="aaa" Width=".15*"/>

 

 

 

<TelerikGridView:GridViewDataColumn HeaderText="bbb" UniqueName="bbb" Width=".4*" />

 

 

 

<TelerikGridView:GridViewDataColumn HeaderText="ccc" UniqueName="ccc" Width=".45*"/>

 

 

 

</TelerikGridView:RadGridView.Columns>

 

 

 

</TelerikGridView:RadGridView>


Thanx!

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 24 Sep 2009, 11:56 AM
Hi luay,

Since the grid will be measured with infinity in this case we cannot support such scenario (ColumnsWidthMode="Fill").

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Sintayehu
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or