Hi
When I select multiple rows on teh grid only one row is completely selected & all the remainingrows only Cells are selected.
I am setting following properties in Grid.
SelectionTypeCell
="Extended"
SelectionTypeField="Extended"
I cannot use CellClickAction = SelectRecord
as it is avoding the Editable fields to go to Edit mode on single click
Have to double click to go to Edit mode.
I attached the screen shot for your reference.
One more thing I noticed is the Selection color for other cells is very dull. Can't make out the s
selection. how to change the color of Selected Rows.
Pls address this question ASAP. We are holding our project for UAT b'couse of this fixes.
Thanks
-Kiran
Pls some one reply to this post.. I am just waiting for this..
Hello,
The orange record represents the ActiveRecord in the grid, where the selected records are colored in gray. In order to change the default color of the selected records you can create a style for the DataRecordCellArea and override the BackgroundSelected properties e.g.
<igDP:XamDataGrid x:Name="xdg" BindToSampleData="True" Theme="Office2k7Blue">
<igDP:XamDataGrid.Resources>
<Style TargetType="{x:Type igDP:DataRecordCellArea}">
<Setter Property="BackgroundActive" Value="Transparent"/>
<Setter Property="BackgroundSelected" Value="Orange"/>
</Style>
</igDP:XamDataGrid.Resources>
<igDP:XamDataGrid.FieldSettings>
<igDP:FieldSettings AllowFixing="NearOrFar"/>
</igDP:XamDataGrid.FieldSettings>
<igDP:XamDataGrid.FieldLayoutSettings>
<igDP:FieldLayoutSettings AutoGenerateFields="False"
SelectionTypeCell="Range"
SelectionTypeField="Extended"/>
</igDP:XamDataGrid.FieldLayoutSettings>
<igDP:XamDataGrid.FieldLayouts>
<igDP:FieldLayout>
<igDP:FieldLayout.Fields>
<igDP:Field Name="name" FixedLocation="FixedToNearEdge"/>
<igDP:Field Name="department" FixedLocation="FixedToNearEdge"/>
<igDP:Field Name="salary"/>
<igDP:Field Name="email"/>
</igDP:FieldLayout.Fields>
</igDP:FieldLayout>
</igDP:XamDataGrid.FieldLayouts>
</igDP:XamDataGrid>
Hope that helps!