Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to select/deselect row by clicking it and prevent a selection of other rows from being cleared

$
0
0

This example demonstrates how to create a helper class that allows you to select rows as if the CTRL button is pressed. I.e. rows selection is not cleared when a particular row is clicked. Only a clicked row's state is changed.

Question Comments

Added By: Brian Perrin at: 12/3/2014 8:27:25 AM    

Outstanding!  Select "MultiSelectionHelper.cs" in the first combo below, see bottom section.  CalcHitInfo(), InvertRowSelection(), GetMouseArgs(e).Handled = true.  Thank you!


Viewing all articles
Browse latest Browse all 7205

Trending Articles