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
2090
XamDatagrid: Allow selection only in one row at the time
posted

Hello,

I was searching trough the forum to see, if this question has already been asked: How can I limited the number of selected rows to 1, but allow the the selection of multiple cells in the same row.

The postings I found so far adress slightly different aspects.

https://ko.infragistics.com/community/forums/f/ultimate-ui-for-wpf/123325/xamdatagrid-select-all-rows-select-one-row/541628#541628

https://ko.infragistics.com/community/forums/f/ultimate-ui-for-wpf/40971/how-to-restrict-only-one-row-to-be-selected-in-a-xamdatagrid

Each row represents a different construction site. In this scenario it does not make sense to edit the data of multiple rows at the same time. But the editing of multiple cells of the same row should be possible (copy, paste, etc.)

In the best case the selection and also dragging would be possible only on the horizontal axes.

Is there a way to achieve that?

Thanks

Niko