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
Single Row Selection
posted

I've got a grid that I only ever want the user to be able to select one row.

I've set RowSelectType to single, this stops the user holding shift and clicking on rows to multi select, but if the user clicks on a row, keeps the left mouse button held and drags the mouse more than one row appears to be selected..

I am fairly sure that although it appears more than one row is selected the first row is no longer in the Select.Rows collection.. so is this a display issue only ? any way around it ?

 

Thanks

Parents
No Data
Reply
  • 37774
    Suggested Answer
    posted

    Are you sure that you've set the SelectTypeRow to Single on the correct Override object, or that it's not being overwritten on a more specific level (i.e. you're setting it on the grid.DisplayLayout.Override but it's being set on the band.Override object)?  I wasn't able to reproduce this issue in a quick test, but if you can post a quick sample I'll be happy to take a look at it.  It's also possible that there was a bug fixed for the version that you're using so you could ensure that you have the latest service release.

    -Matt

Children