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
Hello Sreeni,
Thank you for your post!
I have been looking into it and if I have understood correctly you want to populate the second combo box based on the selection in the first one. What I can suggest is to take a look at the following forum thread where a functionality for cascading combo boxes is described and you also would be able to find sample application: http://es.infragistics.com/community/forums/t/41879.aspx, http://es.infragistics.com/community/forums/t/68588.aspx.
Please do not hesitate to let me know if you have any further questions on this matter.