I want to sort the data table column but, it doesn't work. below is the code and error I get.when I give a server call to backend from typescript it works. When I use state Management the sorting doesn't work.
https://www.primefaces.org/primeng/#/datatable/scroll
PrimeNG provides Lazy loading which refresh data on scrollDown as well as on ScrollUp. I want to implement infinite scrolling which fetch data from server page by page on scrollDown and retain…
I'm currently working on an Angular 4 project and using the PrimeNG DataTable. So far this framework seems pretty neat, but I would like to make my paging server-side. That way I will load only 10,20,.. records at a time rather than loading all…
ERROR TypeError:
val.slice is not a function
dataTable configuration
$.p-dataTable #dt [value]="customers" [(selection)]="chkBoxSelect"
dataKey="customerId" [rows]="10" [paginator]="true"
paginatorPosition="both" [pageLinks]="5"…
I am using datatable from primefaces - primeNg. Can I get the current page I am in and set the datatable to particular page programatically?
I saw that datatable uses pagination component within, but how to access it using @ViewChild?
Any help will…
What I want to do is to sort the data already grouped in alphabetical order or custom order. I used the sortField attribute which specify the groupheader order but I need to order the data inside the group too.
I am trying to use header column grouping with frozen column using PrimeNG. I am able to get first two columns frozen but unfrozen columns also have frozen column names in header.
I have referred code from here…
I want to trigger a reorder event after I drag and drop two rows data but I cannot see it in the document below:
https://www.primefaces.org/primeng/#/table/reorder
Can anyone help me, thanks!
I am having an issue working with PrimeNG DataTables. I have a table with a large number of columns that requires horizontal scroll. PrimeNG comes out of the box with horizontal scroll working with the scroll bar located below the table.
I need to…
How can I get the number of rows after filtering using PrimeNG's default filters in data table.
[totalRecords]="totalRecords" always shows the records count which is fetched initially.
Even though after filtering, totalRecords value remains same…
I have searched the web for a decent example of primeng datatable with rowTrackBy. Documentation is incomplete and does not say much.
Is there anyone out there that can help?