我希望当我选择网格中的所有行时不会调用事件 rowSelectionChangedBatch,我该怎么做?
$scope.gridOptions.onRegisterApi: function(gridApi) {
gridApi.selection.on.rowSelectionChangedBatch($scope, function() {
/* Do something */
});
}
/* More code */
function selectAll() {
/* After execute this, should not call the event */
$scope.gridApi.selection.selectAllRows();
}