angular-ui/ui-grid

Select All check box not getting checked when disabled rows present

Open

#6,624 建立於 2018年3月22日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (2,496 fork)batch import
good first issuetype: enhancement

倉庫指標

Star
 (5,395 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南