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
0
votes
2 answers

ui-tree-node not draggable & Error Cannot read property '0' of null

I'm getting this error; Cannot read property '0' of null (for '0', '1', '2', '3'.....etc.) once for each of the 24 hours in my day. Then again for rows '8', '9','10' and '11' where I have events on the calendar. This is my Calendar Day View…
Brad W
  • 2,540
  • 2
  • 18
  • 28
0
votes
0 answers

How to access a particular node in angular UI tree?

I have just started to learn angularJS. I have a created a ui-tree to show data from backend.I have to display the details of the element on click of it. But I am facing problem with accessing a particular node(element). Can someone describe the…
radio_head
  • 1,306
  • 4
  • 13
  • 28
0
votes
1 answer

connected trees in ui-tree drag n drop prevention

I am using I'm using : http://angular-ui-tree.github.io/angular-ui-tree/#/connected-trees I want to be able to drag on parent level but not on child level in the tree. How would I go about that. I am using their code for now which I can put…
Asim Zaidi
  • 27,016
  • 49
  • 132
  • 221
0
votes
0 answers

Two arrays in each object - Angular UI Tree

Is it possible to have two arrays in each object, like so: [ { "id": 1, "title": "Drink", "subcategories": [ { "id": 11, "title": "Alcoholic", "subcategories": [ { "id": 111, …
cfly24
  • 1,882
  • 3
  • 22
  • 56
0
votes
1 answer

need to get the information of newly getting dragged object information in angular js ui tree

In Angular js ui-tree (ui-tree), how can I get the newly dragged object information? I am getting tree left side list and right side list without any problem but I am facing problem to get model value of the newly getting dragged object only. Let…
smart987
  • 834
  • 2
  • 14
  • 34
0
votes
1 answer

angular material virtual scroll with angular-ui-tree gives error

I am trying to implement virtual scroll of Angular material on angular-ui-tree . But its giving the following error : Controller 'uiTree', required by directive 'uiTreeNode', can't be found! For the plunker click here. The code for easy…
0
votes
2 answers

Unable to get simple tree working in AngularJS + AngularUI

All of required libraries are available. But I receive error : angular.js:11855 Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: item in list, Duplicate key: string:",…
blue-sky
  • 51,962
  • 152
  • 427
  • 752
0
votes
1 answer

Angular (ui tree) ng-repeat: infinite loop

I have a problem with AngularJS and the directive ng-repeat and I can't figure out what's wrong. I'm using angular-ui-tree (https://github.com/angular-ui-tree/angular-ui-tree) to build an infinite nested tree. The first level of the tree is gonna be…
0
votes
2 answers

Can only sort once with angular-ui-tree plugin

I'm trying to implement an AngularJS plugin into my application, but I can't really get it to work properly. I might be doing something wrong. I have two panels that are sortable. I can swap their positions only once. After that they won't swap…
Vivendi
  • 20,047
  • 25
  • 121
  • 196
0
votes
0 answers

How to show thousands of nodes in angular-ui-tree?

How do you load 60 000 nodes into angular-ui-tree? Even at 1000 nodes the page takes 30 seconds to draw while the page hangs, even if I set all nodes to collapsed=true in the HTML so they don't render immediately. I'm guessing the only way to do…
Richard
  • 14,798
  • 21
  • 70
  • 103
-1
votes
1 answer

Array tree find item and its parents

I have an array representing groups, like this: Company Name IT Finance Global Finance Financial Department Tax and Co. and I want to select a certain node (say Financial Department) and assign to a new array only it and its parents (Global…
1 2 3 4
5