HTTP-Module and Table-Modul

UI Components for Angular
Post Reply
D0minik
Posts: 15
Joined: 15 Jan 2018, 09:09

19 Jan 2018, 10:28

Hi everybody, I have a question about Angular and the HTTP module and the Table module.

I have a JSON file that is very nested and contains lots of information. With the help of the new table module, I would like to create a table (colspan, rowspan, etc.) that displays all the data from the one JSON file.

I've created an array for each information I've filled using for-loops. The problem here is that I need an array for the table module that contains all the information.

How can I access the data more elegantly without creating many for-loops?

D0minik
Posts: 15
Joined: 15 Jan 2018, 09:09

19 Jan 2018, 12:44

D0minik wrote:
19 Jan 2018, 10:28
Hi everybody, I have a question about Angular and the HTTP module and the Table module.

I have a JSON file that is very nested and contains lots of information. With the help of the new table module, I would like to create a table (colspan, rowspan, etc.) that displays all the data from the one JSON file.

I've created an array for each information I've filled using for-loops. The problem here is that I need an array for the table module that contains all the information.

How can I access the data more elegantly without creating many for-loops?
Is there a default on how the JSON file should look like (not nested, ...)?

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests