Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to create a datagrid dynamic column in wpf mvvm pattern ?.

$
0
0
Im developing a product in wpf (mvvm pattern). I have a scenario in which i have spent more than a week for no good result. Pls help me if you can... Here is the scenario, according to the user's customization(user ll select the columns) i have to display a set of data into datagrid. Currently im binding a ObservableCollection with set of properties to the itemsource of datagrid. This limits me to fixed column size. Note: The n number of columns name is listed out for user's selection. If its done in code behind it is easy by "datagrid.columns.add()". Can any one out there help me in this scenario.

Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>