Reputation: 102
I am unable to get full tree data when it is collapsed click here for Demo
Upvotes: 0
Views: 44
Reputation: 361
Try below code:
$scope.getData = function () {
$scope.updateddata = angular.copy($scope.treeData.options.data);
}
you are using $scope.treeData.view()
. It only gets the data that displays on the screen.
Dojo Example: Click here for Demo
Upvotes: 0