Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
500
Unable to select multiple cells with Shifi+Click or Shift+Arrow
posted

Hi,

I want to allow multi-select on my XamDataGrid which has following properties:

<igDP:XamDataGrid Name="xdgBudget" RecordContainerGenerationMode="Virtualize" CellContainerGenerationMode="PreLoad" Loaded="xdgBudget_Loaded" RecordActivated="xdgBudget_RecordActivated" RecordDeactivating="xdgBudget_RecordDeactivating" PreviewKeyDown="xdgBudget_PreviewKeyDown" SelectedItemsChanged="xdgBudget_SelectedItemsChanged" GroupByAreaLocation="None" CellUpdated="xdgBudget_CellUpdated" RecordsInViewChanged="xdgBudget_RecordsInViewChanged" EditModeStarting="xdgBudget_EditModeStarting" x:Uid="38C" Grid.ColumnSpan="4">

and following field settings:

<igDP:XamDataGrid.FieldSettings x:Uid="38U">
<uc:RMFieldSettings LabelClickAction="SelectField" CellClickAction="SelectCell" LabelTextAlignment="Center" AllowEdit="True" SummaryDisplayArea="BottomFixed" SummaryUIType="MultiSelect" x:Uid="38V" />
</igDP:XamDataGrid.FieldSettings>
<igDP:XamDataGrid.FieldLayoutSettings x:Uid="38W">
<igDP:FieldLayoutSettings AllowFieldMoving="No" HighlightAlternateRecords="True" AutoGenerateFields="False" RecordSelectorLocation="None" AllowAddNew="False" MaxSelectedRecords="0" SelectionTypeCell="Extended" x:Uid="38X" />
</igDP:XamDataGrid.FieldLayoutSettings>

When I try to Shift+Click in order to achieve multi-selection, only the cell which was clicked is selected and if I try to use arrows with Shift key, the cell is entered in 'EditMode'.

I am new WPF and have no idea how to achieve this. Please help asap.

Thanks in advance!

Regards,

Priya

Parents Reply Children