Questions tagged [primeng-treetable]

PrimeNG is a user interface tool set for Angular. The treetable is one of the components in PrimeNG and is used to display hierarchical data in tabular format..

https://www.primefaces.org/primeng/#/treetable

49 questions
0
votes
1 answer

TypeError: Cannot read property 'parentElement' of null p-treetable angular

I am using below code to load data in p-treeTable in Angular application. When I try to navigate through tree table cell editor text box by using tab key, I am getting below error message while navigating from editable field to non editable field…
RGS
  • 5,131
  • 6
  • 37
  • 65
0
votes
1 answer

Different Child level Headers in Primeng Treetable

How can I implement a primeng tree table with different child level header? I am using angular 7 and primeng V7 Data is like below: { "label":"Parent 1", "data":{ "name":"Parent 1" }, "children": this.resultData1 …
0
votes
1 answer

How to combine column groups in PrimeNg Tree table with unscrollable column?

I'm using primeng 7.1.3. What I'm trying to create is a scrollable tree table (horizontal and vertical) with: the 1st column not scrollable 2 groups of column excluding the 1st one I managed to get something like this: StackBlitz code. Begin of…
Oudini
  • 23
  • 1
  • 7
0
votes
1 answer

How to Observable map nested json objects with different property names - Angular

I have an json result which has nested objects. I need to cast them to my custom objects ( prime ng tree table json) which have different property names than the json result. JSON meesage: { brinname: "Aamir", aantalPersonen: "122", …
codehunter
  • 81
  • 2
  • 14
0
votes
2 answers

Angular treetable (Primeng tree table) - get all the parent node of the chIldren

I am using primengtreetable to build a tree using angular2. Once I select a node, I want to know the 'parent node' of the selected one as weell as selected node. In this case if i click 4 , i want to know about the data about the clicked node (4)…
codehunter
  • 81
  • 2
  • 14
0
votes
1 answer

Tree table html from json

I have a JSON format and I am using primeng and want to use it a tree table structure (Html file). JSON: { brinname: "Aamir", aantalPersonen: "122", signalenVestiging: [ { vestiging: "Ranchi", …
codehunter
  • 81
  • 2
  • 14
0
votes
1 answer

How to do routing on child element of tree table?

On click of the last element of tree table, I want to route it to another screen (url) and show a table. For example: I want to select the last node of the parent node of every element in the tree table. On click of child node, it should navigate…
codehunter
  • 81
  • 2
  • 14
0
votes
1 answer

Rename tree node in primeng

I am using primeng tree component, and I need to edit the name of selected tree node inline. I have implemented rename of the node with another dialog box. but, I want to rename it inline. Is it possible to rename the selected tree node?
ngWolf
  • 307
  • 1
  • 6
  • 21
0
votes
2 answers

PrimeNg tree-table how to distinguish between two different tables in a page.?

When I expand a node on one table it is expanding other table automatically. How can I prevent that. Also, I have two different data for tow tables. But it is appending to both dataset.
Md Rahaman
  • 101
  • 1
  • 2
  • 8
0
votes
1 answer

JSON Data Filter

I am using PrimeNG TreeTable to show hierarchy data from JSON file. I want to filter this data before binding to treetable. Following is the sample json data. { "data": [ { "data":{ "name":"Documents", …
Pushkar Rathod
  • 353
  • 2
  • 7
  • 26
0
votes
3 answers

Unable to display data in PrimeNG Treenode Component

I am trying to display data in Treenode format in angular 5 project. I am getting the data from service which is in the below form (in object form): { "data": [ { "label": "Documents", "data": "Documents Folder", …
0
votes
1 answer

Making persistant for Toggle Columns in treetable

Is there any example you have to make the table data persistent after hide or show or reorder certain columns in primeng. For example: If there is a treetable with 3 columns Id,Name and type and by toggling I hided the ID column using toggle…
Nasrul Bharathi
  • 163
  • 2
  • 10
0
votes
2 answers

PrimeNG 6.0.0-rc1 TreeTable cannot expand rows

I have the same problem as this PrimeNG forum post. Basically the TreeTable component correctly reads the tree but the isn't somehow supported which is the arrow to expand the…
0
votes
1 answer

PrimeNG Tree expanded

I am trying to set selected items in PrimeNG Tree. HTML