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

TreeListView ComboBoxColumn updating

4 Answers 76 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 1
Max asked on 14 Jul 2011, 07:37 AM
I have a TreeListView and simple data binding with PropertyChanged notification. Selecting a ComboBox value causes updating of node's child elements in the tree but sometimes cells don't get updated. PropertyChanged() invoked, actual value changed but no reaction from grid. New values appear only after scrolling or shrinking\expanding tree node. I suppose this strange behaviour is due to cells virtualization but don't know how to fix it.

4 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 14 Jul 2011, 08:21 AM
Hi Max,

I have tried to reproduce the issue you reported, but without any success. Please take a look at the sample attached to verify whether there are no misunderstandings according to your requirements.
 

Kind regards,
Maya
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Max
Top achievements
Rank 1
answered on 15 Jul 2011, 12:19 PM
Hi Maya
 
   I've investigated your sample and tried to use my own code with this sample, it works fine there. But unfortunately a real project much more complicated and I still have a problem described above. I searched on the forum and found a number of similar questions without distinct answers.
  In our project ViewModel is not a static resource. The most strange thing is that grid doesn't refresh sometimes, not always. But binded properties are always have correct values and PropertyChaned is fired constantly.
0
Maya
Telerik team
answered on 15 Jul 2011, 12:36 PM
Hi Max,

In this case, it would be great if you could supply a sample project reproducing scenario. Thus I will be able to debug it locally and provide a valuable solution. If appropriate, you may change the project attached previously so that it respects your scenario and reproduce the issue.
 
 

Regards,
Maya
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Max
Top achievements
Rank 1
answered on 15 Jul 2011, 01:17 PM
I've found this topic http://www.telerik.com/community/forums/wpf/gridview/grid-loses-display-on-tabcontrol.aspx. It's pretty old, but it seems that the problem with tabs is still there. I also have several tabs with grids on it. Now I call Rebind() for each grid by it's IsVisibleChanged event and it works, but it's just a workaround with performance hit.
Tags
GridView
Asked by
Max
Top achievements
Rank 1
Answers by
Maya
Telerik team
Max
Top achievements
Rank 1
Share this question
or