Hi there.
I really did try to get a solution on this forums, but no luck. I would like to set a datatemplate for a XamCombobox nested in a Xamgrid.
Now there are a lot of examples on how to use a comboboxItemsProvider with the xamGrid and all that and that, but I need to set the data template. Where do I do about doing this? In the items provider or in the grid? I just need to add two columns into one entry (This statement does not seem right but not sure how else to phrase it) I want to display the code and the description together.
Kind regards
Christo
Christo,
The XamComboEditor uses a ComboBox internally when it is in edit mode. It is exposed by the ComboBoxStyle property of the XamComboEditor. So what you are looking for is a custom template for the ComboBoxItem. You can see how to do this here :
http://msdn.microsoft.com/en-us/library/ms741921(VS.85).aspx
Hi Alex
I have figured out how to use something like a datagrid in comboBox using you post here:
http://forums.infragistics.com/forums/p/26793/98421.aspx
The problem is how do I use the XamComboEditor in a xamGrid. All the examples show how to do it with ComboBoxItemsProvider.
Any help on this?
You can see how to embed a XamComboEditor inside a cell of the XamdataGrid in the XamFeatureBrowser, which is installed with our products.