Questions tagged [primeng-datatable]

Questions about the PrimeNG DataTable component from PrimeTek Informatics.

Useful Links

474 questions
3
votes
1 answer

how to update row background color dynamically when record is updated?

I have to change background colour of a record after updating Record in ng prime Data table. How to do this task?
3
votes
2 answers

primeng, p-table column "reorder" is not working

i am using Primeng table, and trying to use column "reorder" feature, without success. When i am moving a column, the "arrow" image is shown, but when i am dropping the column in other location - nothing happen(the column is still in the "previous…
E.Meir
  • 2,146
  • 7
  • 34
  • 52
3
votes
2 answers

p-autoComplete Pre-select a default value

I am using p-autoComplete in a table, once a row is selected my auto complete should preselect the current value..I tried using [(ngModel)]="row.bsaName" but it is not working. (Once I click on my dropwdown I see all the values, I confirmed the…
rgoal
  • 1,236
  • 11
  • 35
  • 61
3
votes
1 answer

prime-ng create custom filter for column filed set outside of data table in angular 4

when I have clicked on button then data table particular column set the filter value.when I have clicked on CARG button then apply that value on the symbol column. when clear the value its show all records.
Nitin Wahale
  • 1,666
  • 2
  • 14
  • 25
3
votes
1 answer

How to give inline edit and delete button along with new button in prime ng for angular2 applications

I have a page, which is of only one user thing. But now i have to create a table and i need to fetch data, so that in the table i must have edit and delete button in inline. If i click on edit button then i must be able to edit the whole row, delete…
Bhrungarajni
  • 2,415
  • 11
  • 44
  • 88
3
votes
1 answer

PrimeNG datatable inline editing

I am using PrimeNG DataTable with Angular and trying to implement something similar to this StackBlitz and I have two issues: I am loading the table successfully and once I click on the edit button on the grid function editRow(row) it fails due to…
rgoal
  • 1,236
  • 11
  • 35
  • 61
3
votes
2 answers

PrimeNG TableModule error

I am trying to use TableModule and getting these errors, i tam trying to folow the installation notes from the module page import {TableModule} from 'primeng/table'; have some data for the table using the table ` but i get errors: I tried to…
E.Meir
  • 2,146
  • 7
  • 34
  • 52
3
votes
0 answers

Pagination on PrimeNG using Data Table

I need to automatically navigate through the pages when the maximum rows number per page is reached. I have a dataTable and an array that are the records. I added two items into my array and defined the property [rows] as 1. .html
icestorm
  • 65
  • 5
3
votes
1 answer

How to get rid of the 'No records found message' in PrimeNG datatable?

I created a data table using PrimeNG. I just created 2 headings for the datatable. I'll actually fetch the data from the server, hence if there is no data I do not want the default 'No records found message' to be shown. I would like the table to be…
Harish
  • 1,193
  • 6
  • 22
  • 45
3
votes
0 answers

Listen to the scroll event of primeng data table

How to listen to the scroll event of primeng data table which has fixed header. If no event available, how to add a custom event. Following is the data table properties:
Sahil Agarwal
  • 799
  • 4
  • 12
  • 19
3
votes
1 answer

Lazy loading data in table with global filter using Angular + PrimeNG

I have created a datatable with both Lazy loading and global filter features. I used PrimeNG components for the implementation. But I found that the global filter is not working when lazy loading is enabled, i.e. [lazy]="true". HTML Code :
Cjo
  • 1,265
  • 13
  • 19
3
votes
1 answer

Updating the actual values upon filtering using PrimeNG

I am using PrimeNG with Global filter added to my table: Datatable:
Arianule
  • 8,811
  • 45
  • 116
  • 174
3
votes
2 answers

Unable to text-align center with PrimeNg DataTable

I am trying to use PrimeNg and bootstrap together. Maybe this inherently bad? Just seems that PrimeNg alone is not sufficient. I'm trying to have a button centered in a column as shown in their documentation:…
azulBonnet
  • 831
  • 4
  • 14
  • 31
3
votes
1 answer
3
votes
1 answer