Rendering issue for column having width * and Resize + TextWraping enabled

4 posts, 0 answers
  1. Dmitry
    Dmitry avatar
    3 posts
    Member since:
    Nov 2008

    Posted 31 Oct 2011 Link to this post


    I've an issue with RagGridView rendering.
    When I have a column with width=auto (TextWrapping=Wrap + IsResizable=True) followed by the column with width=* (TextWrapping=Wrap + IsResizable=True) then during first rendering (and only first) additional empty column appears at the end. After grid width change (e.g. resize of the window) columns widths recalculation happens and grid is rendered correctly.

    You can find a sample project illustrating the problem at

    Let me know if you need more information.
  2. Predrag
    Predrag avatar
    13 posts
    Member since:
    Oct 2011

    Posted 29 Nov 2011 Link to this post


    I' m facing similar problem even with latest Telerik build (Q3 2011). I have RagGridView that has column with width=*, then during the rendering additional empty column appears at the end. On page I have Grid with 3 columns RagGridView is placed inside one column with width=*.

            <!-- content header: title, filter, ... / content / content footer: buttons -->
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*"/>
            <RowDefinition Height="30" />
            <!-- two columns with splitter -->
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        <!-- Row="1", Column="0" - DataGrid -->
            Grid.Row="1" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
            ItemsSource="{Binding Path=DataView, ElementName=DomainDataSource}"
            RowIndicatorVisibility="Collapsed" AlternationCount="2">
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=Name}"
                                                                        TextAlignment="Left" HeaderTextAlignment="Left" 
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=City}"
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=Path}"
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=Count}"
                                                                        TextAlignment="Right" HeaderTextAlignment="Right" 
                    x:Name="functionColumn" IsFilterable="False" IsSortable="False"                    
                            <StackPanel Orientation="Horizontal">
                                <Button Style="{StaticResource ImageButtonStyle}" Click="DeleteItemButton_Click" CommandParameter="{Binding Path=ItemId}">
  3. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 29 Nov 2011 Link to this post

    Hello Predrag,

     Indeed we had a similar issue with rendering of the columns. We believe that we have fixed it in our latest internal build (version 2011.3.1129). 

    Please check if you are able to reproduce the same behaviour with the latest assemblies. 

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  4. Predrag
    Predrag avatar
    13 posts
    Member since:
    Oct 2011

    Posted 29 Nov 2011 Link to this post

    Hello Didie,

    I tried with latest internal build and it look like the issue is fixed, also now you can shrink column that has with=*, but you can not extend the last column.

    Best regards,

Back to Top