How to refresh a DataGrid?

Oct 8, 2010 at 3:12 PM

Hi

I have a WPF Windows application with a datagrid on it. I tried to simply add a "Refresh" button to display an updated version of the grid entries. I tried

I reload my Collection of Support Cases and reset the Source of the ViewSource like

SupportCasesViewSource.Source = SupportCaseManager.GetAllSupportCases();

and then

SupportCasesViewSource.View.Refresh()

but this does absolutely nothing...

I did search in this forum and google but can't find a sample how to do this.

Thanks for you help.

easybeat