-
ui-grid 함수 사용하기Angular JS 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();
함수 사용
'Angular JS' 카테고리의 다른 글
angular js 예제 프로그램 모음 (0) 2017.05.28 ui-grid rowSelect (0) 2017.04.25 ui-grid 컬럼정의 (0) 2017.04.23 ui-grid option항목 (0) 2017.04.23 ui-grid 팁 (0) 2017.04.23