Currently I am facing an issue (stack overflow exception) while sorting the column in XamGrid. I have tried debugging infragistics code (Infragistics.WPF.DataManager.DataManager.cs) and observed that there is a circular execution which is happening while sorting the column when XamGrid reloads again. Due to this we are getting Stack overflow exception. XamGrid ItemSource is of type ICollectionView. The build version is 16.1.20161.2056. Any inputs on this is really appreciated. Thanks for your support. Please let me know if you need any further details.
Hello Shashikanth,
Thank you for contacting Infragistics. We recently addressed a similar issue in the past where this exception was thrown after adding records then immediately sorting. However after testing the build you are using I only see the exception occur if I sort a colum, add records, then sort again.
Please review my sample attached and confirm how you encounter the exception. If I do not hear back from you today I will log the development issue how I discovered it and create a private case ticket for you.
Let me know if you have any questions.
Thanks Michael for your prompt response. Did you mean this issue is already addressed in build 16.1.20161.2056? However I am not getting any exceptions in your sample application shared with the same build. It is difficult for me to explain the scenario which is occurring this exception but however I will try to share it in the sample application.
In my case this is happening when I reload the screen and then sort the column it is causing stack overflow exception. FYI, I am not adding any records from my application when I reload the grid second time. Can the call stack information of Infragistics will be helpful to you? As per my observations after debugging the code I noticed that DataSourceCollectionChanged event has a circular execution. For the XamGrid, GroupBy is enabled with settings AllowGroupByArea as Hidden and GroupByOperation as MergeCells. Please let me know in case you need XAML of XamGrid.