Hi
I want to add a combobox in grid column how to do ?
Thanks
Hello,
You can see how to do so in the examples in the XamFeatureBrowser, which are installed as Samples.
You can find them under XamDataGrid - Control and Composition - XamComboEditor in DataRecord Cells.
Basically you need to set the EditorStyle / EditorType property of that Field's Settings to respectively a style targeting a XamComboEditor or a XamComboEditor type.
I need to bind objects in the combobox that apprears in the grid column. The combobox needs to show a property (eg. Description) list. When I select a property, the object corresponding to the description should be assigned through two way binding.
For example, if I am showing Orders in the datapresenter. One of the properties of Orders is CustomerType object. It has a Description field, along with other properties. The grid shows the description property in the combobox and cell value presenter ( when not in edit mode ). When I select a different Description from the combobox, the Order record is updated with the selected CutomerType object.
Do you have any example that does it?