Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
790
How to add Combobox columns to the XamDataGrid
posted

Hi,

I have to create a XamDataGrid with two combobox columns to support the below object structure. 

ObjectStructure:

Scen{string name, string desc}

PropPart { string name, string desc, List<Scen> ScenCollection}

PropPropPart { PropPart PP,  Scen Scen}

Prop { List<PropPropPart > PPPCollection }

DataGrid's Datasource would be Prop.PPPCollection.

COlumns1's itemsource would be collection of objects of type PropPart and also bound to the datasource items 

COlumn2's item source would be column1's selected PropPart.ScenCollection and also bound to the datasource items

and when in the new row I should be able to select and add to the Prop.PPPCollection 

Would be great if you could help me on the same.

Thanks,

Sreeni