Questions tagged [primeng-datatable]

Questions about the PrimeNG DataTable component from PrimeTek Informatics.

Useful Links

474 questions
0
votes
0 answers

PrimeNG Datatable, paginator items per page not changing datatable when modified

The PrimeNG data table is not updating and changing the number of displayed items when the items per page dropdown is changed. There are no console errors or any indication there is something set wrong.
0
votes
0 answers

How to apply custom directive to p-column?

I have a primeng datatable in which I want to apply directive to columns.How can I do so?
0
votes
0 answers

Angular 4 - Show/Hide filters using primeng DataTable in Angular

I want to show the columns filters when I do click a text or button using DataTable of primeng of Angular. This is the initial status for my table. When I do click in the text "Enabled", I will see this: If I do click on button "Disable" the…
Eladerezador
  • 1,277
  • 7
  • 25
  • 48
0
votes
0 answers

Angular 4 - PrimeNg DataTableModule - Filter colum by value default

I am using primeng for to work with tables. I have the next column: I need to show a default value inside the filter input field, like this: Maybe, something…
Eladerezador
  • 1,277
  • 7
  • 25
  • 48
0
votes
1 answer

primeng : Datatable not binding selection property asychronously

I am showing a p-datatable inside a p-dialog in one of my component. If a user has previously selected few rows from this table, I need to show them selected when the user visits the p-dialog next time. I am passing an array of selected items to the…
Saurabh Tiwari
  • 4,632
  • 9
  • 42
  • 82
0
votes
1 answer

PrimeNG Datatable filter value changes to undefined after search with lazy-load

I have a data table that I would like to lazy load and use the built in filters to generate the filters for data api request. Whenever I type something in the filter field it returns the search then changes whatever I typed to "undefined". It still…
Justin Morrison
  • 459
  • 4
  • 18
0
votes
1 answer

PrimeNg p-datatable is not picking the provided template

I have a use case wherein I have varying number of rows and columns for my table. I also do not have any information about the header names. I am trying to use the following implementation: I fetch the reference for the table using…
Saurabh Tiwari
  • 4,632
  • 9
  • 42
  • 82
0
votes
2 answers

Css not getting applied to Prime Ng Data table

I am building a angular2 prime ng app with angular cli.When I am trying to use primeNg datable ,Css is not getting applied to it properly. I have included the necessary dependencies in my app.module, import {DataTableModule,SharedModule} from…
sneha sv
  • 11
  • 4
0
votes
1 answer

how to get the data from a table primeng?

I want to go through my table to see the edited records:
0
votes
1 answer

Primeng changes made in library not reflecting in prod build of angular cli

We are using primeng in our angular project. We have made some custom changes in the library like templates in some of the components. one such example is below , where we have changed the emptyMessage property template in datatable.
user1058913
  • 321
  • 1
  • 4
  • 20
0
votes
1 answer

How to bookmark a Primeng date checkbox?

Hi community, I am using primeng and I show in a table records that come from a database, I want to check my checkbox according to the response of the database, if the language is active I should load the check in true but I do not know how to…
0
votes
1 answer

How to highlight a column while filtering?

I have been using Angular 4 with primeng 4 . When sorting is done with p-datatable of primeng it highlights the column header being sorted. Example : https://www.primefaces.org/primeng/#/datatable/sort But when filtering is done here, the column…
The Dark Knight
  • 5,455
  • 11
  • 54
  • 95
0
votes
1 answer

Angular 4, Uppercase in primeng with editing

I am using angular 4 and PrimeNg datatable with editing, is it possible to force the upper case in 1 column when user is writing? maybe calling toUpperCase on keyup? or something better
Alessandro Celeghin
  • 4,039
  • 14
  • 49
  • 95
0
votes
2 answers

How to hide/remove checkbox from p-table header

I used primeng p-table for multiple selection grid. I have requirement to select multiple row by clicking on each row checkbox. I have to hide/remove checkbox from ptable header. Can I get solution for this. I have tried changing css styles but…
Shridhara M N
  • 23
  • 1
  • 7
0
votes
1 answer

Margin between rows in datatable

I have an Angular2 app using PrimeNg components. Specifically, a simple datatable as follows:
pillbwill
  • 3
  • 1
  • 6