Open thiagonsiq opened 3 years ago
Any ideas here?
i have similar issue when y have checked a row and uncheck this selected label is not updated
it's 2023 this issue is still there. I use
onSelect({ selected }) {
this.selected.splice(0, this.selected.length);
this.selected.push(...selected.filter(this.displayCheck));
}
but visually it is awkward
seems that the problem is that selectCheck
is not called for "select all"
I'm submitting a ... (check one with "x")
Current behavior Repro steps:
Expected behavior
The expected behavior is that if there are 100 total items and one row is disabled, if the Select All checkbox is checked, then the footer should display only the count of actual selected items.
Reproduction of the problem
The bug can be reproduced via ngx-datable's own demo on your website: http://swimlane.github.io/ngx-datatable/#chkbox-selection
Screenshot attached to illustrate further.
What is the motivation / use case for changing the behavior?
To display correct information on the footer of the grid.
Please tell us about your environment:
VSCode/Angular 12
Table version: @swimlane/ngx-datatable@19.0.0
Angular version: Angular 12
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