Sagar Raviprolu
Sagar Raviprolu

Reputation: 102

Not able to get datasource for collapsed tree nodes in angularjs

I am unable to get full tree data when it is collapsed click here for Demo

Upvotes: 0

Views: 44

Answers (1)

IamVenkatReddy
IamVenkatReddy

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

Related Questions