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

[Solved] Column moving with Column.IsVisible problems...

4 Answers 117 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.
Zack
Top achievements
Rank 1
Zack asked on 02 Dec 2009, 02:24 PM
Hi,

My grid is setup to allow users to use the context menu to show and hide columns.  I also allow users to move columns.

The problem is that when moving the columns some rows do not show correctly.  There row data has not been updated to show the new layout after the column has been moved.

The problem can then get worse with every next move resulting in some very strange layouts.

Any help on this one?

<

 

telerikGridView:RadGridView x:Name="GridDataClients" ItemsSource="{Binding Path=Clients}"

 

 

 

DataLoadMode="Asynchronous"

 

 

 

EnableColumnVirtualization="True"

 

 

 

EnableRowVirtualization="True"

 

 

 

AutoGenerateColumns="False"

 

 

 

IsReadOnly="True"

 

 

 

RowIndicatorVisibility="Collapsed"

 

 

 

ColumnsWidthMode="Auto"

 

 

 

infcontrols:GridViewHeaderMenu.IsEnabled="True"

 

 

 

 >

 

4 Answers, 1 is accepted

Sort by
0
Zack
Top achievements
Rank 1
answered on 02 Dec 2009, 02:39 PM
Hi,

I also now see that when I set a column to visible then to not visible, the column stays, however its header and data do not stay, almost as if it is replaced by a blank column with no data that cannot be moved.

Thanks
0
Missing User
answered on 08 Dec 2009, 10:26 AM
Hi Zack,

First of all sorry for the delayed reply.

I've prepared a sample application trying to reproduce your scenario ,but unfortunately I was not able to.
Can you please examine the sample project that I have attached. Maybe I am doing something differently than you and that is why I cannot reproduce the behavior.
Or maybe you can configure my sample project so that it behaves like your project and attach it back(via support ticket) along with the instructions on how to make it happen.

Regarding your second issue:
>I also now see that when I set a column to visible then to not visible, the column stays, however its header and data do not stay, almost as if it is replaced by a blank column with no data that cannot be moved.
-If you mean the same as the screenshot attached - actually this is not an extra blank column - these are just rows stretched to the available width exactly in the same way as in standard Silverlight DataGrid.


Greetings,
Anastasia
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.
0
Zack
Top achievements
Rank 1
answered on 08 Dec 2009, 11:00 AM
Hi Anastasia,

I have uploaded a project under a support ticket, subject is Layout Bugs - can't see the ticket number, but it is only one on my profile.

Let me know if that is ok - otherwise I will adjust your project?

Thanks

Zack
0
Missing User
answered on 09 Dec 2009, 02:41 PM
Hi Zack,

 Please check my reply in your support ticket titled "Layout bugs".

Greetings,
Anastasia
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
Zack
Top achievements
Rank 1
Answers by
Zack
Top achievements
Rank 1
Missing User
Share this question
or