Questions tagged [angular-tree-component]

angular-tree-component, a simple yet powerful tree component for Angular. Please ask only questions related to this component.

This is the place to ask questions about the angular-tree-component npm package. You can also try the Slack Community and the Docs/

If you've encountered an issue please file an issue on Github and follow the issue instructions.

53 questions
13
votes
6 answers

Cannot combine @Input decorators with query decorators using Ivy

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 combine @Input decorators with query decorators No line…
grunk
  • 14,718
  • 15
  • 67
  • 108
6
votes
1 answer

Angular Material Flat Tree Parent Children Graphical Representaion

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
  • 1,974
  • 1
  • 19
  • 30
5
votes
2 answers

Adding routing for page navigation in angular tree

I need help in adding route to angular tree. HTML Code:
PremKumar
  • 1,282
  • 4
  • 25
  • 43
4
votes
1 answer

Missing tree data with virtual scroll with flex height for angular-tree-component

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. I have added the working example here…
Sadiksha Gautam
  • 5,032
  • 6
  • 40
  • 71
4
votes
3 answers

Angular Tree component not working

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 node and without expand. Posting the code can…
3
votes
1 answer

angular-tree-component:Generic type 'ModuleWithProviders' requires 1 type argument(s)

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 TS2314: Generic type 'ModuleWithProviders' requires 1 type…
cj devin
  • 1,045
  • 3
  • 13
  • 48
2
votes
1 answer

Rotate symbol inside CSS content property without changing its position

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-children-wrapper-expanded changes by click, added 2…
2
votes
0 answers

@circlon/angular-tree-component: cannot fire (select) event on parent without any leaf loaded in Angular10 using checkboxes

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 load all the routes, than if I expand, using the…
2
votes
0 answers

Angular6 Tree Component Filtering does not work

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 you use a filter. The guide has filtering…
김세림
  • 291
  • 1
  • 5
  • 17
2
votes
1 answer

Angular Material Tree with checkboxes - get checked and indeterminated value

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 indeterminate. I know, that all selected values…
2
votes
1 answer

Angular-tree-component not displaying any nodes

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 implement the angular2-tree library. The problem is…
1
vote
0 answers

Selecting parent node does not select child node with hasChildren true in angular-tree-component

I am using angular-tree-component v7.2.0 with angular 5. HTML TS nodesOfSites = []; options: any = { useCheckbox: true, getChildren: (node: TreeNode) =>…
Master
  • 31
  • 6
1
vote
0 answers

Tree node isn't being render in tree component

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 that is inside the tree-node is visible in the…
1
vote
0 answers

@circlon/angular-tree-component: How to customize checkbox template

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
  • 11
  • 1
1
vote
0 answers

Angular: Exporting JSON data to Excel using npm-xlsx

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 code that I used for exporting functionality using…
1
2 3 4