Questions tagged [primeng-datatable]

Questions about the PrimeNG DataTable component from PrimeTek Informatics.

Useful Links

398 questions
3
votes
1 answer

Angular "let-col" is not passing all the properties

I'm trying to pass extra fields to help with the processing. This how I define the columns array: this.columns = [ {field: 'vin', header: 'Vin', isMultiRowColumn: true }, {field: 'year', header: 'Year', isMultiRowColumn: false}, …
Richard77
  • 17,505
  • 36
  • 124
  • 222
3
votes
2 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
  • 3,240
  • 8
  • 29
  • 59
3
votes
1 answer

PrimeNg Table dynamic cell edit control

I've following PrimeNG Table Here is the StackBlitz demo. All three columns are editable. "Property Name" column always renders Text box in edit whereas "Property Value Type" column always renders a dropdown. But for Property Value column I want to…
Saurabh Palatkar
  • 2,946
  • 6
  • 42
  • 97
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
4 answers

Filtering Data Table in PrimeNG

How can I get the number of rows after filtering using PrimeNG's default filters in data table. [totalRecords]="totalRecords" always shows the records count which is fetched initially. Even though after filtering, totalRecords value remains same…
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,360
  • 1
  • 12
  • 23
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
  • 1,936
  • 3
  • 24
  • 53
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
  • 896
  • 3
  • 26
  • 49
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,041
  • 5
  • 15
  • 37
3
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
  • 867
  • 11
  • 32
3
votes
0 answers

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 :
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,097
  • 41
  • 108
  • 163
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
  • 628
  • 2
  • 9
  • 26
3
votes
1 answer
1 2
3
26 27