I have a User control with two xamDataGrids.
When an event is fired by SummaryDataClass, I use this code to update my datagrid.
DataTable dt = SummaryDataClass.Instance.GetData();
xgrdSummary.DataSource = dt.DefaultView;
Now, if I view datatable dt in debug mode, it has the updated data, however, the grid is not updating. I am also using Dispatcher.Invode, but still the xamDataGrid is not refreshing data. Please help.
Thanks.
Hello,
Thank you for your reply. Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Sorry, for the delay. If it works in your example, I guess, my problem was something else. I need to look at other aspects of the application. Thanks.
I am just checking if you require any further assistance on the matter.
Thank you for your post. I have been looking into the scenario that you have described and I could not managed to reproduce it. I have created a sample application, in which I have added an UserControl with two XamDataGrids in it and also a button. In the click of the button I am setting the XamDataGrids’ DataSource as in the snippet that you have provided and the XamDataGrid is refreshed each time the DataSoure is set. I have tested the sample application, using the RTM and the latest service release of version 12.2 with the same result.
Would you please let me know if you can reproduce the same issue using my sample application and if not, would you please modify my sample application to show the issue, in order to be able to provide you with more accurate assistance?
Looking forward to hearing from you.