I am developing a WPF application, The below two being the major modules
- The data is obtained from a service and there would be frequent updates after the initial startup.
- The grid controls which display the data has to be dynamically created based on a configuration.
Which design pattern would best suit this problem. MVVM pattern does not fit here.
Any suggestions?
Thanks,
using this solution
WPF MvvM DataGrid Dynamic Columns
you can create the columns in your VM and have MVVM bind to both the column definitions and the data for the datagrid.
This is assuming that you need a lot of control over your columns and not just have the datagrid auto generate them from your itemssource binding