hi ,
by default ,xamdatagrid shows its record selector in zero'th (0) column,
is there any way to show record selector in second column or other than zero'th column
thanks ..
Hi Jafar,
Try with the following approach:
<Style x:Key="xyz" TargetType="{x:Type igDP:CellValuePresenter}" > <Setter Property="Width" Value="35"/> <Setter Property="MinWidth" Value="35"/> <Setter Property="MaxWidth" Value="35"/> <Setter Property="HorizontalAlignment" Value="Left"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type igDP:CellValuePresenter}"> <igDP:RecordSelector MaxWidth="35" Visibility="Visible" /> </ControlTemplate> </Setter.Value> </Setter> </Style> <igDP:XamDataGrid.FieldLayouts> <igDP:FieldLayout> <igDP:Field Name="Name" /> <igDP:UnboundField Name="select" Label="" > <igDP:UnboundField.Settings> <igDP:FieldSettings CellClickAction="SelectRecord" AllowResize="False" AllowEdit="False" AllowRecordFiltering="False" CellValuePresenterStyle="{StaticResource xyz}"/> </igDP:UnboundField.Settings> </igDP:UnboundField> <igDP:Field Name="Age"/> </igDP:FieldLayout> </igDP:XamDataGrid.FieldLayouts>
Thanks,
George
Were you able to resolve your issue?