We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Unselection indicator in SelectionChanged/Changing

How do I determine whether range passed to SelectionChang(ed/ing) event is being selected or unselected? I need to keep track of the selection state of each row and selective "ctrl-click" unselection is giving me trouble. Gene Gorokhovsky

1 Reply

Administrator September 30, 2003 03:28 PM UTC

Try the following: bool isSelected = grid.Model.SelectedRanges.AnyRangeContains(clickRange); Stefan
Loader.
Live Chat Icon For mobile
Up arrow icon