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
355
Multiple Cell selection
posted

Hi,

I would like to be able to select multiple cells using shift key and a click. This works completely fine when I set CellClickAction="SelectCell". However I need CellClickAction="EnterEditModeIfAllowed". The behaviour I now see is that I click into a cell and it becomes editable. I then hold down shift and click into another cell. Instead of selecting all the cells in a row, it just selects that one cell. To select all of them I then need to select the original cell while holding shift. Is there any obvious way around this?

Thanks,

Alastair

<dataPresenter:FieldLayoutSettings AllowClipboardOperations="All"
 SelectionTypeRecord="ExtendedAutoDrag"
SelectionTypeCell="Extended">
 </dataPresenter:FieldLayoutSettings>
</dataPresenter:XamDataGrid.FieldLayoutSettings>
<dataPresenter:XamDataGrid.FieldSettings>
<dataPresenter:FieldSettings CellClickAction="EnterEditModeIfAllowed" />
</dataPresenter:XamDataGrid.FieldSettings>