Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-Select does not work #381

Closed
faizan-ali opened this issue Dec 20, 2016 · 1 comment
Closed

Multi-Select does not work #381

faizan-ali opened this issue Dec 20, 2016 · 1 comment

Comments

@faizan-ali
Copy link

[x ] bug report
[ ] feature request
[ ] support request

**Current behavior**
The library refreshes the currently selected array of items every time upon selection. Simply put, the array is erased and the newly selected item is added. Only a single row is highlighted at any time.

**Expected behavior**
The array bound to the [selected] input should be added to, not erased upon selecting a new item. Multiple rows should be highlighted

**Reproduction of the problem**
Tried the demo code:
https://github.com/swimlane/ngx-datatable/blob/master/demo/selection/selection-multi.ts
Does not work for checkboxes either:
https://github.com/swimlane/ngx-datatable/blob/master/demo/selection/selection-chkbox.ts

**Please tell us about your environment:**
Windows 10

* **Table version:** 0.7.x
"@swimlane/ngx-datatable": "^4.0.0"

* **Angular version:** 2.0.x
Angular 2.0.0 with CLI

* **Browser:** [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Chrome, Edge, Firefox

* **Language:** [all | TypeScript X.X | ES6/7 | ES5]
TypeScript 2.0.10

Please let me know if I have misunderstood the documentation/demo code
@amcdnl
Copy link
Contributor

amcdnl commented Dec 25, 2016

Fixed in 4.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants