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
28
votes
3 answers

PrimeNG Turbotable expand by default

I have a PrimeNg turbotable with row expansion feature. How can I expand the rows by default. Here is my Code : HTML
Mak
  • 584
  • 1
  • 13
  • 33
11
votes
2 answers

PrimeNG turbo table template error when sorting

I'm trying to inject a header template in the turbo table element by using ngTemplateOutlet as it can be seen in the following code snippet :
CharlieCrews
  • 141
  • 1
  • 6
8
votes
2 answers

Angular `ng-content` is not working as expected with primeNg tables

I want to create a reusable table component which uses primeNg to render ui. I created a table.component.html and .ts for that. Now i want to render content for the table which will be table headers (th) and table body (body). To do that, i am…
Mouni R
  • 115
  • 2
  • 6
8
votes
4 answers

How to hide column in PrimeNG turbo table?

Hi I am trying to convert my PrimeNG data-table to turbo table. Actually I have used [hidden]="!cols.visibility" in PrimeNG my data-table. Now what I should used to achieve the same in turbo table. Previous datatable Column Code :
Vijay Dhanvai
  • 1,054
  • 3
  • 13
  • 22
8
votes
1 answer

Performance issue with PrimeNG TurboTable

I am using PrimeNG TurboTable with nested rows.While loading data to the TurboTable getting serious performance issues,like the rendering takes around 30 seconds and it takes more than 10 seconds to become stable,data is loaded from the server, and…
Vignesh
  • 2,378
  • 3
  • 25
  • 48
7
votes
2 answers

PrimeNG p-table column widths on scrollable table

I have a p-table defined with [scrollable]="true"
Patrick
  • 5,526
  • 14
  • 64
  • 101
7
votes
4 answers

Can the width of a column be altered in a sortable primeng table?

I want to reduce the width of a few columns I'm using in primeng grid. However as per my understanding, we can only change the width of columns we create using "p-column" or the "th" tag. PFA code snippets below: HTML:
Vaibhav Tiwari
  • 401
  • 1
  • 3
  • 8
7
votes
0 answers

Angular PrimeNG sort and pagination programmatically

In my angular 5 project I have a PrimeNG table and I want to load pagination params form the url, for example: http://.... tickets?first=10&sortField=exitDate&sortOrder=1 The problem is that when I refresh the page I don't see the correct sortIcon…
Alessandro Celeghin
  • 4,039
  • 14
  • 49
  • 95
6
votes
2 answers

PrimeNG TurboTable - strange virtual scroll behaviour - keeps doubling event.rows

I've implemented a custom Grid component that uses PrimeNG TurboTable and NgRx and I've added the virtual scroll feature to it using the built-in TurboTable virtual scroll. It is also lazy loading, with onLazyLoad handler. However, I get this…
Botond Béres
  • 16,057
  • 2
  • 37
  • 50
6
votes
1 answer

Two levels of row expansion with primeNG turbo table

What would be a good way to add two levels of row expansion with the primeng turbo table extension? I've tried thinking through how to do this, as it does not seem to come out of the box. There is only one rowexpansion template to the row group…
user749798
  • 5,210
  • 10
  • 51
  • 85
6
votes
1 answer

How to use filter in primeng turbotable with lazy load?

I'm using TurboTable of PrimeNG with lazy load option to display data from DB. This works perfect. Now, I need to add few filters to the request that is sending to the server. How to do that ? Here the code that works :
David
  • 583
  • 2
  • 5
  • 9
6
votes
2 answers

PrimeNG Dynamic Column Filtering

I currently have the following PrimeNG TurboTable: Name Age Height
Josh
  • 444
  • 1
  • 7
  • 19
6
votes
2 answers

PrimeNG TurboTable sortable column sort indicator?

I'm trying to transition an existing PrimeNG Datatable over to the newly-released TurboTable spec, and I've been able to get everything more or less working easily, but I lost the auto-generated sort direction indicators on column headers. Is there…
Shotgun Ninja
  • 2,540
  • 3
  • 26
  • 32
5
votes
1 answer

Get index with PrimNG TurboTable and Angular 6

I cant figure out how to get an index with Angular 6 and PrimeNG turbo table. this is my best guess on how it should work. {{ i }}{{…
Jared Whipple
  • 1,111
  • 3
  • 17
  • 38
4
votes
1 answer

Select Rows On PrimeNG Table With Keypress

I am working with a PrimeNG table, and am trying to select the row of a pSelectableRow by keypress. I have a global search input that will filter all results of the table, and when the user is done searching, I would like them to be able to click a…
Jeremy
  • 1,038
  • 11
  • 34
1
2 3
12 13