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

Reorder Columns doesn't draw correctly

2 Answers 72 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 25 May 2011, 05:53 PM
I've found a problem with the gridview, when you enable reordering and make it possible to select which columns are
visible:

<
telerik:RadGridView x:Name="gvTvT" Canvas.ZIndex="3" IsReadOnly="False" 
ElementExporting="RadGridView1_ElementExporting"  
Grid.Row="1"   
Grid.Column="3"  
Grid.ColumnSpan="4"  
Grid.RowSpan="3"  
GroupPanelBackground="White"  
GroupPanelStyle="{StaticResource GridViewGroupedStyle}"  
AutoExpandGroups="True"   
AutoGenerateColumns="True"   
CanUserResizeColumns="True"  
CanUserReorderColumns="True"  
HeaderRowStyle="{StaticResource GVHeaderRow1}"  
GroupPanelItemStyle="{StaticResource GridViewGroupPanelItem}">



Run this grid, and when you do, remove a column from the middle of the grid, and drag another column from one side of the hidden column to the other.  You'll fine a blank "header" shows up, with no corresponding column grid lines in the grid data.  How can I fix this?

Update: I tried simplifying my grid down further, removing any styles, and it still render incorrectly.  I did find a way to manually make the blank space go away, and that is by making the column visible again and then hiding it again.  This leads me to believe this may be related to the column selection more than the reordering of columns?

2 Answers, 1 is accepted

Sort by
0
Ryan
Top achievements
Rank 1
answered on 26 May 2011, 12:16 AM
bump...Anyone from Telerik who can reply here?
0
Milan
Telerik team
answered on 26 May 2011, 08:39 AM
Hello Ryan,

Have you tried upgrading to our latest Internal Build from 2011_1_0516?


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