Questions tagged [primeng-datatable]

Questions about the PrimeNG DataTable component from PrimeTek Informatics.

Useful Links

474 questions
0
votes
0 answers

Primeng2 Angular2 table wordwrap fails

Primeng2 wordwrap on columns fails to work. Am trying to break columns with long sentences to new lones but this fails
Geoff
  • 6,277
  • 23
  • 87
  • 197
0
votes
1 answer

primeNG filter customize

Is it possible to customize DataTable filter in PrimeNG? I have a requirement to filter data from outside of the p-dataTable or from another component - such as a left rail that will filter datatable on the right side of left rail (see attached…
Nimmi
  • 1,997
  • 2
  • 12
  • 20
0
votes
1 answer

How mark selected item from the datatable PrimeNg?

I use the selectionMode = "multiple" option of datatable, How mark selected item from the database Template:
0
votes
1 answer

Angular PrimeNG DataTable sort

The code link is:https://plnkr.co/edit/V9ZkLzDeVo15ngIu2Glo?p=preview My template is:
Alice
  • 1
  • 1
  • 3
0
votes
2 answers

PrimeNg Datatable style a cell

I'm using the PrimeNg Datatable as follows and I need to put a specific css class to each cell I'm able to pass the css class as [class]="cssClassName" coming from the model but the class is only applied when the control is focused. Is it there a…
CREM
  • 1,929
  • 1
  • 25
  • 35
0
votes
2 answers

How to do dynamically row grouping on PrimeNG Datatable?

I am using primeNG datatable in angular 4 application. I want to perform row grouping based on selected field. For example if user click on dealer region then data should group by dealer region, if user click on dealer state then data should group…
Ashok Singh
  • 233
  • 1
  • 4
  • 12
0
votes
1 answer

Angular2 PrimeNG datatable Editable cell dirty flag

I'm using the primeng datatable which have columns are editable. I want to mark the cell as dirty once it's been edited and save the edited rows to the database. Can anyone advise is there a way to do this ?
chloe
  • 33
  • 5
0
votes
1 answer

Custom filter template with vritual scroll in PrimeNg not visible?

I am creating my own template filter in primeNg Datatable. It working without any issue. But when I use the same template on virtual scroll it is being cut buy table body. Not visible. I tried multiple hit and trial but no luck. I added…
DirtyMind
  • 2,353
  • 2
  • 22
  • 43
0
votes
1 answer

PrimeNg - Data Table Selection Values with Nested Components

I have a p-dataTable with nested p-dropdown components. On selection of a row, how can I get the selected values of the row? In the selection callback I receive the array backing each dropdown, and not the selection itself.
Steve
  • 53,375
  • 33
  • 96
  • 141
0
votes
0 answers

DataTable --Dynamic columns ..How to populate data in Edit Popup screen

I have a Datatable with dynamic columns and I would like to edit each row with a Popup screen with Display dialog Module. Could anyone help me in populating the selected row data in the Popup form elements. Plunker Url: …
Krishna
  • 1
  • 6
0
votes
0 answers

Trying to display a Primeng Datatable for each object in an array

I am trying to create a separate PrimeNG DataTable for each object in an array of objects. I attempted to create this with an *ngFor loop to iterate through the array and assign each instance to a table. This is shown…
Justin Morrison
  • 459
  • 4
  • 18
0
votes
2 answers

primeng multiselection mode : how to apply condition to disable checkbox based on condition

I have added above line which causes multiselection mode on in my priming datatable. but I want to disable certain checkboxes depend on condition. How to…
user19041992
  • 133
  • 1
  • 5
  • 18
0
votes
1 answer

PrimeNG Angular 4 picklist reset source and target

I have the PrimeNG picklist inside of a dialog that is part of the datatable CRUD method, how do I reset the target and source values if the dialog is closed and the save button is not click. Do I need to do the cloning differently?
Fab
  • 904
  • 2
  • 14
  • 38
0
votes
2 answers

PrimeNG Datatable does not allow add components to the rows

I am using PrimeNG Datatable (https://www.primefaces.org/primeng/#/datatable) with lazy loading. Everything works great but I need to add a button in every row (with options to delete, edit each record). I tried somehow to add the column in every…
fred00
  • 571
  • 2
  • 8
  • 23
0
votes
1 answer

Trying to implement PrimeNG in Angular 4 project

I am just trying to implement PrimeNG library in my Angular 4 project. I can see PrimeNG in my dependecies and also in my nodemodules folder but when I just did a simple:
Emile Cantero
  • 1,943
  • 3
  • 22
  • 47