Hi,
I have some doubts related with WPF Datagrid. I have created a class of observablecollection in which I have some properties. After assigning values to these properties dynamically, I set the datagrid itemsource as this observable collection.
One of the columns in the wpf datagrid is of combobox type. The values required to populate the combobox is obtained from an inner observablecollection which is mentioned in the parent observablecollection that i wrote earlier.
The difficulty that I am now facing is in assigning the different values to the comboboxes in various rows. My requirement is to update each datagridcolumn combobox with the values that i have in the observable collection. Each class object which uses the observable collection has different number of parameters.
I have set the itemsource of the datagridcolumn combobox as the observablecollection(placed inside the parent observablecollection ). The datagridcolumn combobox displays the same values in each row.
How to bind the values in the collection correctly to the datagridcolumn combobox?
Could someone please guide me with some simple examples?
sujan_1989