angular-ui/ui-grid

Select All check box not getting checked when disabled rows present

Open

#6 624 ouverte le 22 mars 2018

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (2 496 forks)batch import
good first issuetype: enhancement

Métriques du dépôt

Stars
 (5 395 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

I am using the version 4.1.0 of ui-grid. I have enabled the row selection header.

I have two rows in the grid. One row is disabled using isRowSelectable(). Now if i check select all, the enabled row gets selected and the disabled row is not selected. That's fine.

Now if i unselect that enabled row, select all checkbox too gets unselected. That too fine.

But now if i select that enabled row alone, select all checkbox is not checked. It has only two rows and in that one enabled row is checked, So here i expect select all check box to be checked.

http://plnkr.co/edit/A6r6sfzA3CJhZp4SulhQ?p=preview

Guide contributeur