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

Column width error in version 2011.1.613.1040

1 Answer 63 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Uwe Bach
Top achievements
Rank 1
Uwe Bach asked on 18 Jun 2011, 07:45 AM

In the latest version the class GridViewLengthConverter is not working correct
and disallowes correct displaying of column widths. My focus is on Star(*) columns.
some code snippets from current version:
private static string[] strings = new string[]
{ "sizetocells", "px", "sizetoheader", "*", "auto" };

public enum GridViewLengthUnitType
{ Auto, Pixel, SizeToCells, SizeToHeader, Star }

The enum and string array MUST match otherwise the parser returns wrong enum value.

And just try this:

<UserControl
    x:Class="SilverlightApplication6.MainPage"
    Width="640" Height="480">
 
    <Grid x:Name="LayoutRoot" Background="White">
        <telerik:RadGridView RowIndicatorVisibility="Collapsed">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Width=".25*" Header="25% Col"/>
                <telerik:GridViewDataColumn Width=".75*" Header="75% Col"/>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</UserControl>

 

The grid example does not render correctly. I think you have totally 2 problems. 

I need fixed version soon as possible. The versions before have another bugs,
still with rendering errors on header cells.

 

 

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 20 Jun 2011, 06:44 AM
Hello,

 The problem is already fixed and the fix will be part of our upcoming latest build later today. 

Greetings,
Vlad
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
Uwe Bach
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or