Questions tagged [primeng-datatable]

Questions about the PrimeNG DataTable component from PrimeTek Informatics.

Useful Links

474 questions
5
votes
1 answer

How to change PrimeNG datatable expander icon

I am using PrimeNG datatable for my usage. Below is my code: How can I change the default icon for the…
Mukil Deepthi
  • 6,072
  • 13
  • 71
  • 156
5
votes
3 answers

How to add hyperlink to Primeng datatable column,angular 2 way

I am using Primeng datatable in my project setup.But i want the first column of all rows to be hyperlink,so that i can link those to the next pages using [routerLink] (angular 2 way).I am quite unable to achieve that... Is there any way to work…
Rajesh Choudhary
  • 115
  • 1
  • 3
  • 15
4
votes
1 answer

Is there a way to set multiple custom column filters in a PrimeNG table?

I've managed to add only one custom filter in my table. View:
4
votes
3 answers

How to add frozen columns to primeNG when rows are rendering dynamically in Angular

I was looking for help to add the frozen columns feature in my primeng table where the columns and rows are dynamically rendered. I do have a config( isPK: true) that came from data on which I want to make frozen columns. I have tried following…
Bravo
  • 61
  • 2
  • 7
  • 26
4
votes
1 answer

p-splitter & p-table with horizontal scroll

I need split page vertically (e.g. 60%:40%) to the two areas and splitter must be draggable. So I chose PrimeNG p-splitter. Right area contains p-table with horizontal scrollbar (based on doc:…
sasynkamil
  • 859
  • 2
  • 12
  • 23
4
votes
2 answers

Can this PrimeNG data table take directly an Observable (emitting array of objects) instead the standard array of objects?

I am working on an Angular application using PrimeNG. In particular I am using a PrimeNG DataTable, this coponent: https://primefaces.org/primeng/showcase/#/table I have no problem using it in the way shown in the previous officual documentation.…
AndreaNobili
  • 40,955
  • 107
  • 324
  • 596
4
votes
0 answers

How to integrate Primeng datatable with ngx-infinite-scroll

I am trying to integrate ngx-infinite scroll library https://www.npmjs.com/package/ngx-infinite-scroll with a primeng grid https://www.primefaces.org/primeng-4.3.0/#/datatable Has anyone tried to integrate those together or any other datatable.
4
votes
5 answers

Why are table headers not displayed in responsive primeng table?

I have a primeng datatable, it is properly rendered in normal mode. But, when I view in the mobile view, the table headers are not displayed. I have the responsive property of the table set to true. Please see the screenshot. I have the headers…
Nitin Avula
  • 333
  • 2
  • 7
  • 21
4
votes
3 answers

PrimeNG Lazy load data with async pipe

I have a very large amount of data (400.000 records) that I need to show in a PrimeNG data table. For this I need a lazy loading table, since you cannot load all data into the table in one time (this will make your browser crash). For creating the…
Mr.wiseguy
  • 4,092
  • 10
  • 35
  • 67
4
votes
2 answers

PrimgNg: column sorting

I am using and I have to implement sorting to its headers. I am doing as below: HTML
Anna
  • 1,669
  • 7
  • 38
  • 63
4
votes
1 answer

PrimeNg Turbo Table p-table lazy load scroll event

I am implementing primeNG turbo table. I am able to implement it but while implementing lazy loading. iam not been able to get scroll event. How to get scroll event in my method. Below is what i have tried.
4
votes
0 answers

Angular get reference to child component inside ng-template

I've created a wrapper component for PrimeNG data table to be able to handle all data table logic in one component. The component supports passing a template which is then used for expandable rows. In the template one can pass a custom template…
Daniel Grima
  • 2,765
  • 7
  • 34
  • 58
4
votes
0 answers

PrimeNG - Autocomplete field with datatable for suggestions

I am trying to have the suggestions from the PrimeNG autocomplete field display in a table with a header. The biggest things are only displaying the table header for the first row and possibly eliminating the padding between the tables. I am also…
Tommo
  • 977
  • 14
  • 35
4
votes
0 answers

Multisort Datatable w/ fixed field and sort function

We have a PrimeNg datatable that has multiple columns (as most do), we need to be able to have a multiple sort happen when a user clicks on one of the 3 columns, but that column is only the first of two fields that it needs to sort on. The second…
BillF
  • 804
  • 10
  • 20
4
votes
1 answer

Angular4 PrimeNG DataTable Not Updating Despite Model Changes

I get an observable back from a data service to web api that returns an array and populates a data table in a parent component correctly. I pass the array used to populate the datatable to a child component via @Input. When a row on the parent…
xyntiacat
  • 468
  • 1
  • 5
  • 13
1 2
3
31 32