Angular JS
ui-grid 함수 사용하기
봄산
2017. 4. 24. 21:12
The easiest approach is:
Register the gridApi by adding this your controller:
$scope.gridOptions.onRegisterApi = function(gridApi) { $scope.myGridApi = gridApi; };
함수 등록
Access the array of selected items:
$scope.myGridApi.selection.getSelectedRows();
함수 사용