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
375
Selection Strategies
posted

I have a grid that I only ever want the user to be able to select a single row on, so the TypeSelectRow is set to Single and I cancel the SelectionDrag event. On the whole this works, except that if the user clicks on a row and then drags without releasing the mouse button it is possible to select multiple rows, which is undesired behaviour.

I looked at selection strategy filters and opted to use SelectionStrategySingle, this has had no effect - the user can still click, hold and drag to select rows.

Is there a solution for this?

Thanks

Parents
No Data
Reply
  • 375
    posted

    Ok, I solved this now..

     

    the selection setup wasn't the problem - by default a grid gets an Active Row Appearance that sets the background colour to "Highlight" and the foreground colour to "HighlightText" - the effect of this is that the row appears to be selected when its not. Hopefully may be of help to others out there.

Children