Questions tagged [angular-ui-tree]

A tree component for AngularJS, without jQuery as dependency.

Angular UI Tree is an AngularJS UI component that can sort nested lists, provides drag & drop support and doesn't depend on jQuery. https://github.com/angular-ui-tree/angular-ui-tree

71 questions
1
vote
4 answers

angular-ui-tree drag not working

I'm trying to use angular-ui-tree to render a tree. When I drag the "baz" node, under the "bar" node I get Uncaught TypeError: Cannot read property '$$phase' of null. Dragging any other node to any other location works fine though. I don't…
Jesse Aldridge
  • 7,991
  • 9
  • 48
  • 75
0
votes
1 answer

How to limit drag and drop capability to only sibling-level elements in angular-ui-tree?

I am developing a tree view to show list of categories using AngularJS. I used this git repository. HTML
  1. Sudarshana Dayananda
    • 5,165
    • 2
    • 23
    • 45
0
votes
0 answers

angular-ui-tree doesn't work with more than 9 levels

I have a directive that use the angular-ui-tree component inside an asp.net mvc project, it works really great but a major bug appears every time it renders a tree with more than 9 levels. For this we have an open issue, but is still not merged in…
Dayán Ruiz
  • 611
  • 1
  • 9
  • 22
0
votes
1 answer

Angular-ui-tree keep nodes to their level on drag and drop

How can I prevent child nodes from becoming a top level node and also prevent parent nodes from being dropped under another parent node. I want to allow rearrangement of child nodes and parent nodes but only allow them to drop at their current…
Stradosphere
  • 1,285
  • 3
  • 14
  • 40
0
votes
1 answer

Uncaught Error: [$injector:modulerr] ui.tree

I have my app.js: angular.module('myApp', ['ui.tree']) .controller('myCtrl', function($scope) { $scope.remove = function(scope) { scope.remove(); }; $scope.toggle = function(scope) { scope.toggle(); }; …
Nidheesh
  • 4,390
  • 29
  • 87
  • 150
0
votes
1 answer

Generate template with nested rows

I'd like to generate dynamic html for my treeview (angular-ui-tree). The problem is as follows: I've got a json with a number of nested objects, and I have HTML that uses angular-ui-tree directives to create the tree. I have to hardcode the html at…
user841760
  • 361
  • 1
  • 3
  • 14
0
votes
0 answers

Wrong item scrolled on Mozilla Firefox

I have some trouble with the Angular Ui Tree component. This is the setting: I have two trees, one on the left with a classical hierarchical structure and one on the right with a list of draggable item. The second tree is loaded with a lot of heavy…
0
votes
0 answers

How to clone node in Angular JS UI Tree?

I use plugin Angular UI Tree: http://angular-ui-tree.github.io/angular-ui-tree/#/basic-example
Yahorow
  • 51
  • 8
0
votes
1 answer

How to clone node in Angular UI tree?

How to clone node in Angular UI tree with all children? Now I use event click: ng-click="newSubItem(this)" where newSubItem is function: $scope.newSubItem = function (scope) { var nodeData = scope.$modelValue; var…
Oleg
  • 37
  • 1
  • 3
0
votes
1 answer

angular-ui-tree two events instead of one

I'm sure it is pretty simple question, but I can't find answer. I use pretty common pattern for creating tree. I need to know if user click parent node or child node. Everything works fine if I click parent node. But if I click child node, the…
gikerix
  • 5
  • 1
  • 6
0
votes
1 answer

angular-ui-tree complex to use in project . need guidance

i try to use angular-ui-treeview library in my project available on below mentioned link : https://github.com/angular-ui-tree/angular-ui-tree on this , in readme.md , in Usage section following things mentioned ; Download 1.) Using bower to install…
0
votes
3 answers

Hierarchy implementation in angularjs

I'm new to angularjs and want to implement some hierarchy screen in which user can add a new group, child to that group and so on. (parent/child hierarchy) Something like this 1 Admin 1.1 -----User Admin 1.1.1 ----------Tech Support Admin 1.1.1.1…
Naila Akbar
  • 3,033
  • 4
  • 34
  • 76
0
votes
1 answer

Controller 'uiTreeNodes', required by directive 'ngInclude', can't be found

I'm trying to use angularui-tree and after days of struggle to make it run inside Vistulaforce(salesforce) page, it still shows some error or the other. Now I'm trying to run basic nested tree ui example but it's throwing an error and I can't see…
Cyclotron3x3
  • 2,188
  • 23
  • 40
0
votes
1 answer

get the node number in Angular UI Tree [angular-ui-tree]

I am using Angular UI tree to implement items categories relationship, everything is working fine in the default implementation, but now the requirement is to get the node/section number in the tree to manage hierarchy. I follow up This Codepen…
Saad Bhutto
  • 594
  • 1
  • 8
  • 22
0
votes
1 answer

angular ui tree limit max depth

I want to limit max depth of angular UI tree i added data-max-depth="2" to ui-tree
  1. Mohammad Hossein Amri
    • 1,842
    • 2
    • 23
    • 43