Hi,
I have a list of items in a XamGrid, and when editing one of the cells turns to a combobox, like this:
Now my question is, how do I populate this combobox ?
I have to classes, Brand and Account.
re relation between these to classes is many-to-one, where:
Brand have one account, and account can have many brands.
I was trying to populate it from code but comboBox is not visible somehow.
The ComboBoxColumn is described in the following documentation, including how to populate the values from a predefined list of items.
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamGrid_ComboBoxColumn_Column.html
And there is an example you can see also in the WPF Feature Browser under xamGrid > Display > ComboBox Column.
I’ll attach my sample as well that may be helpful to you.
Please let me know if you have any questions.
Hi Marianne,
Tnx for the reply.
It works fine using local resource, however there is another problem now.
the example you gave me, and the example in WPF Feature Browser works with <iG:ComboBoxColumn>.
I am using a simple <ComboBox>, it seems like the ComboBoxColumn can't be added to <iG:TemplateColumn>
the thing is now that it doesn't show the selected item. See picture.