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

Rows missing in grid when refreshing ObservableCollection while Grouping

3 Answers 88 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tommy Z
Top achievements
Rank 1
Tommy Z asked on 19 Nov 2010, 06:30 PM
I have a RadGridView bound to an ObservableCollection in my view model that gets refreshed periodically.  The LINQ query that I am using to populate the collection is returning the expected number of rows, but the grid does not show every row if I have a column grouping specified.  Without the grouping, all rows show up without any issue, and if I manually apply the grouping after the grid has refreshed, all rows are grouped correctly.

Are there any known issues with column grouping while bound to a collection that is cleared and re-populated at a specified interval?  Any help would be appreciated.

Regards.

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 22 Nov 2010, 08:23 AM
Hello doug leu,

For the time being there is no such known issue and unfortunately, I was not able to reproduce it. May you send us a sample project (via support ticket) that replicates it so that we could debug it locally ? 

Sincerely yours,
Maya
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Richard
Top achievements
Rank 1
answered on 23 Nov 2010, 11:39 AM
Hi All,

I can confirm this as well.  I am using the columnhelper class supplied in the WPF GridView demo for the IsGroup flag in the XAML.  If I ungroup and regroup on the same column then all the rows are shown.  I have AggregateFunctions in the Columns collection and their values are shown correct in the group heading even if one of the rows are not shown!

Its as if the the group heading is actually on top of the row after the observablecollection is refreshed.   I do a clear of the collection before populating it.

Regards

Richard...

0
Maya
Telerik team
answered on 25 Nov 2010, 06:04 PM
Hi,

Indeed you are quite correct - we have discovered the problem and we are working on its solution. You may follow up its progress in our Public Issue Tracking System. 
It would be really great if you can send us sample project reproducing the issue so that we could investigate your scenarios too.
Thank you for the cooperation.
 
Greetings,
Maya
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
GridView
Asked by
Tommy Z
Top achievements
Rank 1
Answers by
Maya
Telerik team
Richard
Top achievements
Rank 1
Share this question
or