multiselect seems broken
Here's a plunkr:
http://plnkr.co/edit/TGIpIY?p=preview
I've set the data's primary key, multiSelect, enableRowSelection, showSelectionCheckbox and selection of a row seems to disable the selection of the previous row. Am I missing an option? I'm pretty sure the plunkr is hitting the grid latest build on GitHub.
I set a breakpoint in the selection provider ChangeSelection method and that seemed to do the right thing. I think the previous row selection was lost in a digest operation later on.
the behavior of the multiselect has changed. to multi-select you need to use the shift or ctrl keys.
oh. I think you said in another issue that you don't have access to a Mac. MacOS does not send control-click as control-left click, but rather as right click :-(
So I can shift-click to select a range, but seem to have no good UX for random multi row select.
Could we add in an option for the old style grid multi-selection or did that lead to other problems?
I'd like to second that request. I am running into this exact issue right now. I dont think its intuitive for user's to understand that they need to hit the control key to select more than one row. In my case, I'm building a contact importer where lots of email addresses will show up in the grid. I want the user to be able to swiftly select items without having to select all of them (via the checkbox at the header).
BTW: great stuff!
Thanks
@timothyswt Related to this, I don't seem to be able to "de-select" a row any more unless I hold Ctrl and click on the row again. If I just click on it repeatedly, it just stays selected.
there is a grid option that needs to be set to false. //Prevent unselections when in single selection mode. keepLastSelected: true,
On Mon, Apr 15, 2013 at 7:26 AM, Simon Mansfield [email protected]:
@timothyswt https://github.com/timothyswt Related to this, I don't seem to be able to "de-select" a row any more unless I hold Ctrl and click on the row again. If I just click on it repeatedly, it just stays selected.
— Reply to this email directly or view it on GitHubhttps://github.com/angular-ui/ng-grid/issues/329#issuecomment-16387900 .
-Tim Sweet
I really like how selecting is done from my own perspective but I don't think it's intuitive for our users. Selecting now is great for power users but not very friendly to average Joe.
@timothyswt If only it were that simple, I have that flag set to false, yet it still won't let me de-select without a Ctrl press.