Skip to main content
Filter by
Sorted by
Tagged with
2 votes
2 answers
3k views

I am upgrading an Angular app to version 19. After the upgrade, I found out that NestedTreeControl is deprecated. Even though it is still available, my IDE shows that @deprecated Use one of ...
Mahyar Pasarzangene's user avatar
0 votes
0 answers
65 views

I am trying to use angular cdk dnd with angular tree component package. currently i am using ng2-dnd. ng2-dnd code <div class="tree"> <tree-root #tree id="tree2&...
sheeesh_coder's user avatar
0 votes
1 answer
131 views

envirement:("@angular/core": "~7.1.0","angular-tree-component": "^8.0.1") The problem is that i'm filtering through the node children but for some nodes the ...
eso's user avatar
  • 1
2 votes
2 answers
2k views

I just literally follow the step by step here in this documentation but for some reason im having this error when i try to import angular-tree-component in app.module.ts eror i just follow the ...
DontBeHardOnYourself's user avatar
0 votes
1 answer
191 views

I want to find the top-level parent (on the tree) of the current node. I have the following code: expandParents(node: any) { const parent = node.data.x.parent; if (!!parent && this....
George Perid's user avatar
1 vote
0 answers
658 views

I am using angular-tree-component v7.2.0 with angular 5. HTML <tree-root #treeRoot [nodes]="nodesOfSites" [options]="options"></tree-root> TS nodesOfSites = []; ...
Master's user avatar
  • 31
1 vote
0 answers
593 views

I have a tree component in which the tree root isn't being rendered. I am working in angular 12, and when I implemented the tree component I did everything as stated in the documentation. But nothing ...
gjonte's user avatar
  • 63
0 votes
1 answer
1k views

i've been trying to build the library with angular 13 and im getting an circular dependency error: The component 'TreeNodeChildrenComponent' is used in the template but importing it would create a ...
DefKorns's user avatar
1 vote
0 answers
893 views

I want to use custom templates for the tree nodes as shown here on their website https://angular2-tree.readme.io/docs/templates But I also need the checkbox tri-state functionality as demonstrated ...
Stuart's user avatar
  • 11
2 votes
1 answer
130 views

I want to rotate symbol by its center without move I tried to apply display: inline-block and transform origin: center center not helped, classes .toggle-children-wrapper-collapsed and .toggle-...
Nurdaulet Shamilov's user avatar
1 vote
0 answers
853 views

I've been trying to export a data from Tree Family structure which contains JSON data and a lot of arrays. The export functionality works just fine but it is not exporting the whole thing. This is ...
Hisywm's user avatar
  • 59
1 vote
1 answer
306 views

I'm trying to implement a very basic usage of Angular Tree Component in my application. Angular version is 9, component version is 9.0.5. I uncluded TreeModule into my app module's imports. Inserted ...
Ulad Melekh's user avatar
0 votes
1 answer
663 views

In my angular project, I have multiple dependencies which require mobx. There is mobx-react which requires v. 6.1.0 as a peer dependency @circlon/angular-tree-component requires 4.14.1 This causes an ...
Robert's user avatar
  • 1
1 vote
1 answer
575 views

So, I'm trying to create a hierarchical tree. Whena node is selected that has children, then all the children of the node is selected, but when I select all the children I also want to select the ...
jyoti's user avatar
  • 483
1 vote
1 answer
2k views

We are moving from Angular Tree Component to the PrimeNg Tree component. The tree selection is saved and restored when the application starts. We save the key field (folderId in our case). Angular ...
Developer Thing's user avatar
0 votes
0 answers
505 views

Angular Nested Tree How can I add vertical scroll bar in each tree node and child node?
Sarat Nath's user avatar
0 votes
1 answer
375 views

I have implemented ngx-bootstrap-treeview Currently with [isOpened]="true" is opening First Level tree only but I have secondly level tree as well which is not opening until I click on it. I ...
Ambuj Khanna's user avatar
  • 1,229
2 votes
0 answers
1k views

Scenario Hi, I am using @circlon/angular-tree-component in Angular (I tried both version 10 and version 11) and I load in an async way the children of each node by expanding it (basically I initially ...
antoninus96's user avatar
0 votes
1 answer
225 views

I need to get the root node name of a tree in angular, but node.name is getting "Node" as the value. Below is my .html code part: <mat-tree [dataSource]="dataSource" [...
pradeep's user avatar
0 votes
1 answer
2k views

I have a conceptual doubt that why do we use the constructor for injecting our services into the component and ngOnInit() life cycle hook to initialize all values. Of all the articles I've read, I ...
Ankita Prasad's user avatar
0 votes
1 answer
1k views

I neeed to replace some data on the tree, then run treemodel.update() and after that select a node. Tree is already rendered at that time. This is my code: @ViewChild('resulttree') resulttree: ...
MARISTobi's user avatar
1 vote
1 answer
2k views

I have created a custom Tree View with a checkbox. Now I need to uncheck the corresponding parent level node when I uncheck the corresponding child node. eg: in my case, let's check all checkbox then ...
user3175778's user avatar
2 votes
0 answers
336 views

https://angular2-tree.readme.io/docs The tree was constructed through the angular tree-node. Custom template in use. You can use filtering when it is not a custom template, but it is not filtered when ...
김세림's user avatar
  • 321
0 votes
1 answer
745 views

I have taken the files from folder of virtual scroll in my existing project to perform a POC on virtual scrolling. https://github.com/CirclonGroup/angular-tree-component/blob/master/projects/example-...
localhost's user avatar
1 vote
1 answer
807 views

I am using angular-tree-component and I need to implement multiple selection with click+shift keys. Who can help, me please? This is what I have for now. monitoring.ts file: import { ITreeOptions, ...
Aigerim Sadir's user avatar
0 votes
1 answer
1k views

I am trying to override shift+click to select the multiple nodes in the tree. I do the same way as in the tutorial import { ITreeOptions, TreeNode,TREE_ACTIONS,KEYS,IActionMapping} from 'angular-tree-...
Aigerim Sadir's user avatar
0 votes
1 answer
650 views

I have the following JSON data -> { "data": [ { "documentId": "new_148_45646", "data": "new_data6" }, { "...
Rehan's user avatar
  • 1,070
2 votes
1 answer
4k views

I use Angular Tree Component in my project and for the past couple of days, I get the following error while building the Angular application. The issue was resolved after quiet a struggle. I am ...
TheMonkWhoSoldHisCode's user avatar
3 votes
1 answer
896 views

i am using angular v10 and "angular-tree-component": "^8.5.6".but getting build error: ERROR in node_modules/angular-tree-component/dist/angular-tree-component.d.ts:25:23 - error ...
cj devin's user avatar
  • 1,395
0 votes
1 answer
2k views

I am unable to find any way to disable checkbox node using angular tree component. There is no option to mark the tree disabled so that the checkboxes that appear alongwith th etree data should be ...
Ravneet Sodhi's user avatar
1 vote
1 answer
3k views

In my home project I try to show data in tree hierarchy. I send get call to API and I received this json: {"items":[{"id":"1","name":"Adam","...
derirative23's user avatar
1 vote
1 answer
465 views

I'm trying to use the #treeNodeFullTemplate in my app in order to fully customize the component, but I don't seem to be able to view my datas after copying the new template described in here. My ...
Andrea Pruccoli's user avatar
1 vote
0 answers
127 views

We are currently exploring the angular tree view component. and we need to achieve the below scenario. On the drag and drop, Layer 4 and Layer 1 are going to share common children, we can merge the ...
Cegone's user avatar
  • 489
0 votes
1 answer
2k views

I am having trouble implementing this https://angular2-tree.readme.io/docs/async-data-1 . How do I rewrite the following code from OnInit to be async like in the documentation?: this.client.get(...
Munchkin's user avatar
  • 1,109
0 votes
2 answers
2k views

My Backend over at localhost:3000/gettreeview returns a JSON object and it needs to be stored in the variable nodes. I tried to accomplish it with the code below but have failed: import { Component, ...
Munchkin's user avatar
  • 1,109
0 votes
1 answer
2k views

I want to expand the first node on startup. I saw here the way to go. The difference is that I don't have the nodes in my code but get it from my databse. This is my Code: this.appService....
LastChar23's user avatar
0 votes
1 answer
742 views

I am trying to have different columns and column names for child rows than the parents rows in TreeView in UI-Grid There is already a question asked, but the link provided in the comment section has ...
Tasnim Khan's user avatar
2 votes
1 answer
4k views

I've got almost 1 to 1 tree from this example: https://stackblitz.com/angular/nnxeaxmrdob?file=src%2Fapp%2Ftree-checklist-example.ts What i need is to get all the selected values and those which are ...
lemek's user avatar
  • 798
0 votes
1 answer
238 views

I have a question about tree component. Is it possible to make my tree component like a table ? Here is what i exactly want: Here is some snippet from example of documentation: nodes = [ { ...
batgerel.e's user avatar
1 vote
1 answer
5k views

I am having a problem using angular tree component. I believe that this problem is simple but I can quite wrap my head around it. I can't seem to be able to add child nodes to the children of the ...
Zinara Ozojie's user avatar
0 votes
1 answer
587 views

I am using npm install --save angular-tree-component child nodes are not loaded when i click parent it shows "loading..." message here is my code options: ITreeOptions = { getChildren: this....
venkatesh venky's user avatar
6 votes
1 answer
6k views

I want to show Parent Children graphical representation on Angular Material Flat Tree. This is the design : Here is the DEMO what i done so far.
Anzil khaN's user avatar
  • 1,984
4 votes
1 answer
2k views

I am trying to use flex height for the tree with virtual scroll. However, when I set the tree container to 100% and set the flex height, the chunk of data is missing from the screen during the scroll. ...
Sadiksha Gautam's user avatar
1 vote
1 answer
3k views

I am using angular material flat tree for drag and drop. I implemented drag and drop using an example from stackblitz link. I'm getting an error when i drag and drop parent node to child node. ...
Anzil khaN's user avatar
  • 1,984
1 vote
0 answers
346 views

I am using "angular-tree-component": "^8.0.3" to construct tree for the mine Angular7 Single Page Application(SPA). I am following the documentation and creating tree but getting ...
cj devin's user avatar
  • 1,395
13 votes
6 answers
18k views

I have migrated my angular 7 app to 8.0.0 and i'am now trying the new compiler ivy. The app works perfectly without ivy but when i try to compile with it i have the following error : Cannot ...
grunk's user avatar
  • 15k
1 vote
2 answers
2k views

Adding *ngFor to ng-template #treeNodeTemplate causes the tree to refresh infinitely. Related to angular-tree-component with Angular 7. <tree-root [nodes]="data" #tree [options]="...
Anil's user avatar
  • 57
5 votes
2 answers
5k views

I need help in adding route to angular tree. HTML Code: <mat-tree [dataSource]="dataSource" class="tree-container" [treeControl]="treeControl"> <mat-tree-node class="btnLinks" *...
PremKumar's user avatar
  • 1,352
2 votes
1 answer
6k views

I am very new to Angular and web development in general. All I want is for the TreeView to show the nodes "Root1" and "Root2". At the moment, all I get is the label "My Tree View". I am trying to ...
Marc Van De Sandt's user avatar
4 votes
3 answers
5k views

I installed and imported angular tree component and tried setting it up using the basic example provided following the steps in https://angular2-tree.readme.io/ But unfortunately I only see the root ...
Prateek Choudhury's user avatar