Hi,
The scenario is like this:
Is there a way in which the grouping can be refreshed for data updates ? Or is there a propertyt that needs to be enabled to update regrouping for a column change for the rows ?
Hello,
I have been reading through your description and I see what you mean. This behavior is usually by design in order to prevent editable items from disappearing from the user's viewable area. What you can do is call the XamDataGrid's InvalidateData method right after the data change.
Please let me know if you require any further assistance on the matter.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support
Thanks Petar,
I don't see any method InvalidateData for WPF xamGrid. Is there something I am missing?
I can see only the below methods:
InvalidateArrange, InvalidateMeasure, InvalidateProperty, InvalidateVisual
Hi Avinash,
Excuse me for the mix-up I was thinking of the Silverlight XamGrid. For the WPF XamDataGrid the designed behavior is the same nad you can use the XamDataGrid.Records.RefreshSortPosition method.
Please let me know if you require any further assistance with this.
Best regards Petar.
Thanks for the reply,
I have tried adding XamDataGrid.Records.RefreshSort(), don't seem to find RefreshSortPosition method. But this still does not work.
I have added a sample project that explains the scenario. Let me know what needs to be added . In the sample code if you Group by BasePrice and click start the baseprice changes but the rows grouped remain the same.
HI Petar,
Any luck with this. Any workaround will be appreciated.
Thanks, works with e.Record.RefreshSortPosition.