HiIf I set the ultragrid's SelectTypeRow to Extended, I can select multiple rows while pressing Shift or Ctrl but mouse clicking a selected row doesn't deselect it. If I click on another selected row then it deselects the previous row. Is this a bug?We also want to let our users select/deselect rows by pressing spacebar. Do I need to write custom code to do this?We're on version 9.2.ThanksJohn
Hi Mike
You were right with your second idea. The default ActiveRowAppearance setting was highlighting the active row to make it look selected.
I'll reset these properties on our multi select grids.
Thanks for your help
John
Thanks for your suggestions.
I'll try a test project first to see if it does work or if it's still buggy.
Oh, one other thing. It's possible that Ctrl+Click IS deselecting the row, but that your grid is set up to show the ActiveRow with a selection highlight. This is, in fact, the default setting. If that's the case, you would not be able to tell when the row was deselected since it would still appear selected since it is the active row.
If that's what's happening here, this will fix it:
FAQ:How do I turn off the ActiveRowAppearance so that the active row in the grid does not appear selected.
Hi John,
By "modifier keys" I was referring to Ctrl or Shift which modify the selection behavior when clicking.
I tested this out before replying to you and the only other property I set in my sample (aside from SelectTypeRow) was CellClickAction. I set it to RowSelect so that clicking on a cell selects the row. In fact, I could have tested it without that by making sure the RowSelectors were on - but then you have to click on the RowSelectors instead of the row and the row is just bigger and easier to click.
If this is not working for you the way I described, then it's always possible it's a bug in the version of the grid you are using. What version is that?
Have you tried reproducing this behavior in a small sample project? If so, and you can post your sample here, I would be happy to take a look.
That's the behaviour I was expecting. Can you think of any settings that might affect it? I'm not sure what you mean by 'modifier keys'.
I have the SelectTypeCell and SelectTypeCol set to None and SelectTypeRow to Extended.