Questions tagged [primeng-datatable]

Questions about the PrimeNG DataTable component from PrimeTek Informatics.

Useful Links

474 questions
0
votes
0 answers

Issue with PrimeNG DataTable binding from Http Observable

I am triyng to build a dynamic DataTable using PrimeNG 2.0.5 with Angular 4 but I've got an error : "GET http://localhost:3000/application-detail.component.html 404 (Not Found)" and also "Unhandled Promise rejection: Failed to load…
Emile Cantero
  • 1,943
  • 3
  • 22
  • 47
0
votes
2 answers

PrimeNG DataTable: change class/style of a cell

How can I add a class to a cell depending on field value?
mariogl
  • 1,195
  • 1
  • 10
  • 24
0
votes
1 answer

Primeng option filter in Datatable not work?

Option filter only works if word begins with selected letters
alehn96
  • 1,363
  • 1
  • 13
  • 23
0
votes
1 answer

Angular 4 - bug detected with PrimNG Datatable

I have detected a bug in Angular 4 or PrimNG Datatables module. I have a simple view: {{node.label}} //works with case 1,2,3 and 4 //works with case 1, 2, and 3 (but not with…
Michal Bialek
  • 499
  • 1
  • 10
  • 26
0
votes
0 answers

PrimeNG DataTable - dataTable model updates but looses current selection

I have a DataTable that is bound to a model that is refreshed ever 10 seconds via polling my api. The data refreshes fine but I have a bug tied to the selection. If I have selected one or more rows it will stay selected when the data is refreshed.…
JDillon522
  • 19,046
  • 15
  • 47
  • 81
0
votes
0 answers

Goto another tab from a particular tab on Click event using Angular4 (Primeng datatable)

I am using Angular4 to create an application in which i need to navigate between tabs using a button click event inside the tabs.Primeng Datatable click event navigate to another tab. tabsSample.html
Vignesh
  • 2,378
  • 3
  • 25
  • 48
0
votes
0 answers

Reordering is not working when scrollable=true in PrimeNG datatable

I am trying to use reorderableColumns and scrollable properties together in my p-datatable. But it seems that it is not working as expected. When we try to drag the columns it is not moving. If we remove scrollable property from code, then…
Kamlesh Shirbhate
  • 549
  • 2
  • 8
  • 13
0
votes
0 answers

Format Horizontal Styling of DataTable from PrimeNG to Vertical Styling

I use PrimeNG beta 17 with Angular 2 and and have come by a situation where I want to change the Horizontal Layout of DataTable to Vertical layout as illustrated below: By Default: Horizontal Datatable Layout My requirement: Vertical DataTable…
0
votes
0 answers

How to disable default filtering in PrimeNG datatable

PrimeNG datatable has an option [filter]="true" which enables an input on column header used to filter data. Additionally the API provides a callback onFilter fired when filtering data. Typing into the provided input for filtering data causes the…
user4401
  • 394
  • 1
  • 4
  • 15
-1
votes
1 answer

In PrimeNG Data Table Load data From Database With Pagination

In an Angular 8 project using PrimeNG DataTable, I would like to make my paging server side. So I want to load only 10 records at a time rather than loading all 10000+ records at a time. Every time page changes 10 records to be load from the…
-1
votes
1 answer

How to implement Primeng Reusable Table using ngTemplateOutlet

I'm trying to create reusable component which have primeng-table. This reusable component will accept input as data and col to display in table. In user component, I'm just using prime-table component to display data by passing the data and cols as…
-1
votes
1 answer

Issue: PrimeNG Datatable Column Filter does not match to piped altered data in the field

[updated] The issue is when using the PrimeNG Column Filter to search it does not match to what is being displayed but matches to the original value. As an example I'm using longitude and latitude values where the raw format would be something like…
edjm
  • 4,830
  • 7
  • 36
  • 65
-1
votes
1 answer

How can I assign id to rows dynamically in table?

I am using p-table -> https://primefaces.org/primeng/showcase/#/table/dynamic I want to assign unique id to each row dynamically.
Tony
  • 19
  • 8
-1
votes
1 answer

Any advice for error with p-Column style PrimeNG?

Im trying to assign a style that is coming from an object[], if I hardcode the style like [style]="{'text-align':'right'}" then works but if I read it from the object then throws an error, any advice?
Ivan Lopez
  • 87
  • 8
-1
votes
1 answer

Primeng p-table not supporting row editing?

I am using Angular 7, and primeng 7.0.0 verstion p-table Now I have requirment of row edit.I followed orginal documentation primeng p-table row edit But I am getting error while implementation. Please help me,, I tried alot not finding any proper…
1 2 3
31
32