Questions tagged [primeng-datatable]

Questions about the PrimeNG DataTable component from PrimeTek Informatics.

Useful Links

474 questions
1
vote
1 answer

angular 6 prime ng datatable tooltip for checkAll header checkbox

Using prime ng data table's column checkbox as, I want to add a tooltip in the header to indicate a value of checkAll/uncheck…
Rajesh
  • 69
  • 1
  • 9
1
vote
2 answers

How to use lazy loading + sort in p-Table using angular2

i have used lazy loading in my application and also i want to use the sorting of the items. If i don't use lazy loading it works fine, but i want the application to work in both lazy loading and sorting. Can anyone help me to solve…
Bhrungarajni
  • 2,415
  • 11
  • 44
  • 88
1
vote
1 answer

PrimeNG DataTable Change Detection

So there we are.. Again ;) I have a PrimeNG Data Table with some Simple Data and a Service that gets API Data. So I'am Pretty New to Angular and cant figure why my Table View isn't Updated on change for instance when I'am adding a entry. Would by…
HolzbeinWilli
  • 168
  • 2
  • 3
  • 11
1
vote
1 answer

PrimeNG Header Template

I'm trying to add a span with a tooltip to a column header using PrimeNG version 4.30. According to this issue, it should be done using pTemplate decorator in a template element (later deprecated in favor of ng-template). The type="body" templates…
manoftheyear
  • 374
  • 1
  • 6
  • 18
1
vote
0 answers

Unable to filter the PrimeNG datatable immediately after assigning the data

I am working with PrimeNG datatable and Angular 4. I am getting the data from server and assigning it to the table reference. @ViewChild('tableRef') table; this.http.callDataFromServer() .subscribe((data) => { this.table = data; …
Saurabh Tiwari
  • 4,632
  • 9
  • 42
  • 82
1
vote
0 answers

PrimeNg datatable Multiple column Filtering

I'm using PrimeNg datatable and i want to use multi columns filtering(server side). Now It is working perfect with server side individual column filtering. I found alot but didn't find much. Please help me out. Thanks in advance
Hemant Kumar
  • 140
  • 8
1
vote
2 answers

PrimeNG: custom sort issue for dates

I am using primeNg to implement custom sort for "Quarterly Results" field. The date in the "Quarterly Results" field is as below: Q3-2017 2018 2017 Q1-2016 2000 Q3-2018 Q2-2012 Source : https://primefaces.org/primeng/#/table/sort To sort…
Anna
  • 1,669
  • 7
  • 38
  • 63
1
vote
2 answers

PrimeNg sorted column on page load

I am using primeNg to display data as below: HTML File Name …
Anna
  • 1,669
  • 7
  • 38
  • 63
1
vote
1 answer

PrimeNG p-Calendar & AutoComplete Values and Validation

I am using primeNG p-Calendar Control and AutoComplete. Here is my Code (blunker) (click on edit then save") I have two issues: I can't get the newly selected Date for whatever reason..no matter what I do I always get the old date. I need to be…
rgoal
  • 1,236
  • 11
  • 35
  • 61
1
vote
2 answers

How to hide column in PrimeNG Data table for dynamic column?

Hi I am trying to hide column my PrimeNG data-table.Is there an attribute that I can use to switch-off column in PrimeNG data-table. .Html
Nitin Wahale
  • 1,666
  • 2
  • 14
  • 25
1
vote
2 answers

Enable a particular column while editing that row in PrimeNG datatable

I am using angular2. I have a datatable. I am able to edit particular cell when I click on it. But I also want the last column to appear for that particular row whose cell I am editing. Suppose I want to edit the 1st row 2nd element. Basically 2nd…
Sunil Bishnoi
  • 509
  • 3
  • 5
  • 13
1
vote
1 answer

Two variable in a column in Angular 5 primeng

How do I do so that the name and surname are in the same column?
Andres Vera
  • 72
  • 10
1
vote
2 answers

PrimeNg TurboTable colgroup dynamic colspan

How can I assign variable to primeng TurboTable ColGroup colspan property. Brand Sale Rate
1
vote
1 answer

Assign current iteration item to ngModel inside pTemplate="header"?

How to assign current iteration item to ngModel inside pTemplate="header" ? I am trying to achieve this on UI If all the checkbox in a column are selected, the checkbox in the header should be selected as well. If any checkbox in a column is…
Jay
  • 9,189
  • 12
  • 56
  • 96
1
vote
0 answers

Conditionally assign classes to a PrimeNG p-datatable row group header

I'm trying to conditionally assign a css class to a row group header that's from PrimeNG's p-datatable. I've tried using ngClass inside of the ng-template tag but that doesn't work because the rowData object is undefined. Here's what that looks…