angular-ui/ui-grid

Select All check box not getting checked when disabled rows present

Open

#6.624 aberto em 22 de mar. de 2018

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
good first issuetype: enhancement

Métricas do repositório

Stars
 (5.395 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador