You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can de-select the disable row if the row is selected previously.
I have a set of data that are supposed to be selected. So I use scope.gridApi.selection.selectRow to select the rows. All of those selected rows must be disabled. So $scope.gridApi.core.notifyDataChange(uiGridConstants.dataChange.ALL); is fired to update the enableSelection flag. The expected behavior is that the selection should not trigger at all for rows that have enableSelection false. However, as you can see in the plunker, I can de-select the row that is suppose to be disable (enableSelection=false).
The issue is in 'toggleRowSelection' in selection.js. The expression is "row.enableSelection === false && !selected" instead of just "row.enableSelection === false"
The text was updated successfully, but these errors were encountered:
I can de-select the disable row if the row is selected previously.
I have a set of data that are supposed to be selected. So I use scope.gridApi.selection.selectRow to select the rows. All of those selected rows must be disabled. So $scope.gridApi.core.notifyDataChange(uiGridConstants.dataChange.ALL); is fired to update the enableSelection flag. The expected behavior is that the selection should not trigger at all for rows that have enableSelection false. However, as you can see in the plunker, I can de-select the row that is suppose to be disable (enableSelection=false).
Please see the plunker http://plnkr.co/edit/aCN5nYDtmJiz4CcCT0Vs?p=preview.
The issue is in 'toggleRowSelection' in selection.js. The expression is "row.enableSelection === false && !selected" instead of just "row.enableSelection === false"
The text was updated successfully, but these errors were encountered: