Questions tagged [primeng-datatable]

Questions about the PrimeNG DataTable component from PrimeTek Informatics.

Useful Links

474 questions
0
votes
0 answers
0
votes
1 answer

is it possible to collapse expanded row in primeng 5.2.7 manually Angular?

I am looking for any proper solution which will help me to resolve one of the big challenge I am facing currently. I am looking for solution to programmatically collapse the expanded row in p-datatable. I have seen different solutions such as reset…
Bravo
  • 61
  • 2
  • 7
  • 26
0
votes
1 answer

Want to put gobal filter outside of primeNg table component

I am using primneNg and now want to add global filter, but the problem is i need to add this filter in another component. Both these component are deep nested in other component. what i did is took a reference of table component using …
Praveen
  • 1,772
  • 3
  • 24
  • 42
0
votes
1 answer

Angular primeNg pEditableColumn dropdown onChange event

I have a p-table with p-editable column which is a dropdown as follows:
Geek
  • 3,187
  • 15
  • 70
  • 115
0
votes
0 answers

How to retain filer and sort option of p-dataTable with primeng and angular?

In simple word, I am using primeng(p-dataTable) with version-5.0.2 and angular 5, I am new to both. Here I want to save/retain, p-dataTable filter & sort option in case of navigation (like location.back()).
GauravC
  • 11
  • 2
0
votes
2 answers

PrimeNg Global Filter through Module not found error

I am trying to implement PrimeNg Global filter and followed the documentation they provided. But I am getting below error. I am not sure how to add this Module separately. They have stackblitz link, but there I don't see any error on that specific…
Raja
  • 3,477
  • 12
  • 47
  • 89
0
votes
1 answer

primeng p-table, p-multiselect filter not showing

Hello everyone! i am using p-table, p-multiselect filter for a column. The problem is that p-multiselect filter is showing behind the t-body of the table please help.
Haagii95 Tugs
  • 65
  • 1
  • 2
  • 8
0
votes
1 answer

primeng p-table checkbox and filter

Hello everyone! i am using p-table, p-headercheckbox, p-tableCheckbox and additional filter for each column. The problem is that filters are not aligning with headers.
Haagii95 Tugs
  • 65
  • 1
  • 2
  • 8
0
votes
1 answer

Angular 9 PrimeNg how to style p-table border color?

How can i change the border color of p-table? I was able to change table header border color of the table but i don't know how to change the color of the body of the p-table. body .ui-table .ui-table-tbody > tr > td { padding: 0.571em 0.857em;…
Haagii95 Tugs
  • 65
  • 1
  • 2
  • 8
0
votes
0 answers

Can not read property of undefined at datatable

I'm trying to conditionally style the primeng datatable row background color. I used [rowStyleClass]="setBackgroundColor" where setBackgroundColor is a function that conditionally returns the name of class to be applied. but while I'm checking the…
Ajmal-Hossain
  • 215
  • 5
  • 19
0
votes
1 answer

Unable to use sticky header in primeng table

I am trying to use sticky header with p-table. However I'm not able to do so. I am using the css that's been mentioned in their documentation. I'm using primeng 7. Please help. Thanks in advance. Here is my template:
wazza
  • 47
  • 9
0
votes
1 answer

How to migrate primeng p-dataTable to p-table?

We are planning to migrate primeng to the latest version. Currently we have p-dataTable implemented. What would be the better approach to migrate p-dataTable to p-table? --> 1. Implement p-table from scratch? OR 2. we have any option to…
Niveditha
  • 13
  • 3
0
votes
0 answers

passing data in the current page of a p-table column to another application

I have a p-table which has pagination, filters , and sorting enabled. on click of a button, the data in a particular column of the current page of the p-table should be exported to another application. with the below steps , i am able to export all…
0
votes
1 answer

Backspace doesnt work on Input box of PrimeNG when integrated to third party application

I am creating basic component using PrimeNG. I have added input box on my component as: If I run component individually, input box works fine. However, when I integrate this component in my AngularJS based…
guravman
  • 151
  • 4
  • 14
0
votes
1 answer

Pass json string having dynamic data as a source to primeNG datatable

I'll be getting json dynamically from service as follows: {"items":[[{"key": "SerialID","value": "P1.M1.T1"},{ "key": "Description", "value": "Dummy Desc 1"},{ "key": "Label", "value": "A123"}],[{"key": "SerialID","value": "P1.M1.T2"},{ "key":…
guravman
  • 151
  • 4
  • 14