I have a list of DataGrids. I am transferring from my list of DataTables (of selected index ) into List of DataGrids. In code, I can monitor that itemsource gets transferred Datatable but, it is not visible on the window screen. Here is my code:
m_AllDgTag[item.ID].ItemsSource = MainWindow.dataTables[item.ID].DefaultView;
Where: m_AllDgTag is my list of Datagrids
- I have tried refresh command already but, it did not worked.
In this way without problem assign source. Maybe something is missing from your code. You can compare with it.