Hi,
I need to have a grid in which the first column should be groupBy/Merged and another column should be a combo box. Items in Combo box will be different for different row(combo box item depends on the value of first column). I tried using XamDataGrid but not able to Merge the cell.
As alternative I tried XamGrid where I am able to Merge Cell by setting GroupByOperation="MergeCells"
But I am not able to bind combobox.
please find the code below
<
ig:XamGrid x:Name="ActivateRecipeGrid" AutoGenerateColumns="False" ColumnWidth="*" ItemsSource="{Binding RecipeVersionDetail}" Height
="300">
<ig:XamGrid.CellStyle
>
<Style TargetType
="ig:CellControl">
<Setter Property="BorderThickness"
Value
="0,0,1,1" />
</Style
</ig:XamGrid.CellStyle
<ig:XamGrid.GroupBySettings
<ig:GroupBySettings AllowGroupByArea="Hidden" GroupByOperation
="MergeCells" />
</ig:XamGrid.GroupBySettings
<ig:XamGrid.Columns
<ig:TextColumn Key="RecipeId" IsReadOnly="True" IsGroupBy="True" HorizontalContentAlignment="Center" IsMovable
="False" />
<ig:TextColumn Key="RecipeName" IsReadOnly
<ig:ComboBoxColumn ItemsSource="{Binding ActiveRecipeVersionList}" ></ig:ComboBoxColumn
</ig:XamGrid.Columns
<ig:XamGrid.EditingSettings
<ig:EditingSettings AllowEditing
="Hover" />
</ig:XamGrid.EditingSettings
</ig:XamGrid
"RecipeVersionDetail" is an observableCollection of type class "ActivateRecipeDetails" and "ActiveRecipeVersion" is a property of type List<string> inside the "ActivateRecipeDetails" class.
Please help me to get cell merged as well as combo box populated.
Hello Arpita,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.