wpf - Binding a ComboBoxEdit ItemsSource -


i hope can enough job explaining problem.

i have devexpress gridcontrol 3 columns. gridcontrol's itemssource set collection of objects have 3 strings on them.

my problem 3rd column must comboboxedit itemssource collection of of selected values of 3rd column's combo boxes.

here (link an) image describe mean: http://imgur.com/77vri4w.jpg (can't post images yet, unfortunately)

so want the drop down of group column display group1, group2, etc... choices, collection exists on viewmodel , not on object each row represents.

that being said, group string is on row, , that's inputting new value edit box should change. want able bind display/valuemembers of combobox value on row object, bind itemssource on drop down collection on viewmodel.

here xaml third column pick apart:

<dxg:gridcolumn width="auto"                 header="group"                 fieldname="pacgroup">   <dxg:gridcolumn.celltemplate>     <datatemplate>       <dxe:comboboxedit x:name="part_editor"                         itemssource="{binding path=pacgroups}"                         displaymember="{binding path=selectedpacgroup}"                         valuemember="{binding path=selectedpacgroup}">       </dxe:comboboxedit>     </datatemplate>   </dxg:gridcolumn.celltemplate> </dxg:gridcolumn> 

if clarifications needed, post them asap. help!


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -