0

グリッド内のすべての行を選択したときにイベント 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();
}
4

1 に答える 1