Questions tagged [primeng-turbotable]

Questions about PrimeNG's TurboTable for displaying data in a table, and how to use TurboTable's API.

Questions about PrimeNG's TurboTable, which is used for displaying data in a table. Any question about how to use the table, how the table works, or related questions go here.

187 questions
0
votes
1 answer

Object is an array when populating html table but not when iterating in typescript

I have a backend database that serves student records as JSON files. These objects are then populated in a PrimeNG table for display and selection. student.component.html
sml485
  • 367
  • 1
  • 6
  • 19
0
votes
3 answers

primeng TurboTable (p-table) does not work properly with scrollHeight='100%'

I want a TurboTable to occupy the whole parent's height (and resize when the parent is resized), so only the content of the table is scrollable and no scrollbars are added to the parents component. I've tried setting scrollHeight="100%", but that…
Dmytro Gokun
  • 405
  • 3
  • 24
0
votes
1 answer

Trigger sort with icon for primeng turbo table

For PrimeNG Turbo Table, can you make sort only trigger when the sort icons are clicked? Right now, it triggers whenever I click anywhere int he header cell. I'd like to just trigger when clicking the icons. I was thinking this may be possible with…
user749798
  • 5,210
  • 10
  • 51
  • 85
0
votes
0 answers

Primeng/CSS for fixed and scroll-able columns

My project uses Angular 5 and Primeng V5. I have a p-table which has dynamic columns, which should be scroll-able. I tried the below CSS changes but still I was not able to make it scrollable, css is getting applied but not able to make the columns…
Anna
  • 1,669
  • 7
  • 38
  • 63
0
votes
0 answers

Unable to fetch nested data into PrimeNG table

I am very new to PrimeNG table and I tried to load nested json doc into table, but I am unable to access data of nested array. I am able to load flatten json in p-table but in nested json unbale to fetch the nested data EX: { field: "address",…
0
votes
0 answers

Dynamic rowspan column in primeng p-table

I want dynamic rowspan column in primeng p-table https://primefaces.org/primeng/#/table/colgroup I have tried this:
Shubham Ghormade
  • 215
  • 4
  • 16
0
votes
1 answer

Angular PrimeNG || Unable to autofit column width for Table Horizontal and Vertical

I have created p-table with Horizontal &Vertical scrollable table using PrimeNG. It’s contains more rows & columns. Here, I’m facing the challenges unable to adjust the column width automatically instead of hard-coding width.
user2932411
  • 147
  • 1
  • 4
  • 14
0
votes
1 answer

How to customize PrimeNG TurboTable paginator?

I am using PrimeNG TurboTable in Angular 6. Here's html
user10743690
0
votes
0 answers

Turbo table: How to display the data in PrimeNG table ? Data value may contains the Json object or Array

I am able to display as below How to display the data in PrimeNG turbo table ? Json data value may contains the Json object or array. And I want to display in proper format. Here I am receiving the data by REST API call, and key is string but not…
0
votes
1 answer

Angular - How to implement TreeView Table with filter

I want to build treeview table with sorting using PrimeNG and Angular 6. TreeTable is there in PirmeNG but i want global search filter so that inside nodes could be easily searched. I tried ng-treetable but its not working.
0
votes
1 answer

TurboTable header checkbox selects all data in all pages and not only the current page

I'm using turboTable with primeNG version 5.2.2, in a previous version I was using, the selectAll checkbox selected only the current page (wanted behaviour ) Now with this version the selectAll checkBox selects all data in all pages, is there a way…
Jefrey
  • 1
  • 3
0
votes
2 answers

how to have checked rows show on top in turbotable

I am using a turbotable where first column is checkbox selection. I need to show the checked rows on top of the table. How do I achieve that?
Ang6Newbie
  • 13
  • 3
0
votes
2 answers

Angular 2+: Primeng style not working in angular-cli builded/deployed application

I've followed instructions in Angular 2 - PrimeNg style not working answers and got it work in standalone application served with ng serve. But when application is build and deployed, primeng styles and theme are not bundled. Primeng control is…
Tihomir
  • 124
  • 1
  • 11
0
votes
2 answers

PrimeNG Turbo Table cell text overflow problem

When using Primeng table and set the table as scrollable the table should show the scrollbar and the text inside the cells should not be overflown. Instead this does not happen. Check this example in Stackblitz and resize
pantonis
  • 5,601
  • 12
  • 58
  • 115
0
votes
1 answer

PrimeNg TurboTable filters are not working with LazyLoad

I am unable to use filters with lazy load option. Can anyone help me if i am missing anything here? I read primeng documentation this and this and this with examples. I could find any solution. When I use both [lazy] and filters together, filters…