Questions tagged [primeng-datatable]

Questions about the PrimeNG DataTable component from PrimeTek Informatics.

Useful Links

474 questions
2
votes
0 answers

Override Methods/Events of Primeng Datatable

I use the primeng datatable beeing close to my final need, however I would like to overload it because I need an additional functionality (By example, I would like to change the header to be editable at click). So I started by trying to execute an…
2
votes
1 answer

Angular2 TypeError: val.slice is not a function. Issue with Primeng datatable and nested data

Below is the structure of my json: [ { "id": 1, "race_location": "Charlotte-Fall", "year": null, "mec_date": null, "nxs_date": null, "ctws_date": null, "event_details": { "titans": { "required": 5, …
ash
  • 460
  • 4
  • 18
2
votes
3 answers

Unable to use primeng virtual scroll lazy load

I am trying to implement a lazy load for a large set of data with primeng . I have done everything documented on the official site, however I could not make it work. The onLazyLoad callback runs only once at the time of loading the…
Saurabh Tiwari
  • 4,632
  • 9
  • 42
  • 82
2
votes
0 answers

How to do pagination on server side with ngPrime tables in Angular?

I could not find any documentation on it. The ngPrime has all the features required for my project standpoint, but I want to be sure that ngPrime table supports server side pagination as it is a required feature.
2
votes
1 answer

Angular Datatable with calendar as editable

We have a requirement to have editable Grid with calendar a template column, i am using following code, but it returning error during run time. i think error occurring at the below highlighted row. ERROR:Uncaught (in promise): Unexpected literal at…
Pani
  • 125
  • 2
  • 15
2
votes
1 answer

Anyone knows PrimeNG DataTable LazyLoading in Angular 2

I want to implement PrimeNG DataTable LazyLoading in Angular 2 but there is no realtime example i found on internet. I have already referred below PrimeNG site which shows lazy loading with dummy…
2
votes
1 answer

Primeng DataTable Dropdown doesn't work with options via column

I'm making a re-usable table component for my application based on DataTable from PrimeNG. My component has the following html code:
Gabriel Costa
  • 349
  • 1
  • 4
  • 13
2
votes
1 answer

PrimeNg Datatable: Bind a dynamic array of objects

I have an array of objects like: "rows": [ { "id": 1, "createdAt": "2017-07-21T06:05:38.000Z", "updatedAt": "2017-07-21T06:05:38.000Z", "createdBy": null, "modifiedBy": null, "name": "ABC", "owner": "Dian", "age": 23, "industry":…
Abhishek
  • 1,974
  • 5
  • 31
  • 67
2
votes
3 answers

PrimeNg change p-column width with template

I get following error when trying to set dynamic column width ERROR Error: Cannot find a differ supporting object '{width: '180px', 'text-align': 'center'}' Employee List
Vivek
  • 111
  • 3
  • 9
2
votes
0 answers

Can prime ng p-datatable p-column use responsive classes ui-grid-col

I want to use responsive column widths for my p-datatable p-columns like so:
jimbo1776
  • 21
  • 2
2
votes
0 answers

Sort template in primeng - angular 2

I am trying to sort the auto-increment template column in primeng but it doesn't work without having to specify the [field] (I'm not sure what should field be assigned to incase of rowIndex)
Ali Baig
  • 3,819
  • 4
  • 34
  • 47
2
votes
0 answers

AngularJS 2 - Primeng DataTable - Multi select, row grouping : Set checkboxes for rows at runtime

I am using PrimeNG Ultima theme in my Angular JS application. I have datatable like below with multiple selection and row grouping.
Ziggler
  • 3,361
  • 3
  • 43
  • 61
2
votes
0 answers

PrimeNG - DataTable with individual column selection

I want a datatable with the feature inside the column, with the option to select between two values which is been displayed. like in the below code
S_developer
  • 252
  • 5
  • 18
1
vote
1 answer

Primeng 15 how to override default sort icon in Angular 15

I'm using Primeng 15.4 in Angular 15. Could you help to override the default icon. I tried the below 2 solutions but nothing was working
ABC123
  • 11
  • 3
1
vote
1 answer

How can I set the default value for a p-columnFilter in PRIMENG?

PRIMENG is a component library for Angular and I'm currently using their p-table component to dislpay data from a database. One of the columns displayed in the table contains a boolean value, and I'd like to have a default true value for that column…
JansthcirlU
  • 688
  • 5
  • 21