Skip to content

Commit 8b475ef

Browse files
committed
Merge pull request #3641 from PaulL1/treebase
Doco(grouping): fix #3636 buttons in grouping tutorial
2 parents 7c55007 + 576844c commit 8b475ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

misc/tutorial/209_grouping.ngdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ function will stop working), and writes them to the console.
128128
});
129129

130130
$scope.expandAll = function(){
131-
$scope.gridApi.grouping.expandAllRows();
131+
$scope.gridApi.treeBase.expandAllRows();
132132
};
133133

134134
$scope.toggleRow = function( rowNum ){
135-
$scope.gridApi.grouping.toggleRowGroupingState($scope.gridApi.grid.renderContainers.body.visibleRowCache[rowNum]);
135+
$scope.gridApi.treeBase.toggleRowTreeState($scope.gridApi.grid.renderContainers.body.visibleRowCache[rowNum]);
136136
};
137137

138138
$scope.changeGrouping = function() {

0 commit comments

Comments
 (0)