This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
Checkbox doesn't select row (model) #5
Open
Description
From @LeonanCarvalho on June 25, 2015 18:52
Until 3.0 isn't stable i'm using ngGrid yet and I realize if I check a grid value using checkbox it's not selected in rows model.
<div class="ngSelectionCell"><input tabindex="-1" class="ngSelectionCheckbox" type="checkbox" ng-checked="row.selected"/></div>
We must use ng-model with ng-selected to be possible select using row click and checkbox click.
<div class="ngSelectionCell"><input tabindex="-1" class="ngSelectionCheckbox" type="checkbox" ng-checked="row.selected" ng-model="row.selected"/></div>
Looking for confirmation.
Copied from original issue: angular-ui/ui-grid#3869