primeng-datatable Questions

8

Solved

PrimeNG DataTable provides a [scrollable] property to define vertical and/or horizontal scrolling. This has to be used with a combination of a set scrollHeight and/or scrollWidth. How can I have a...
Elyn asked 22/11, 2017 at 22:34

4

Solved

I was looking for help to add the frozen columns feature in my primeng table where the columns and rows are dynamically rendered. I do have a config( isPK: true) that came from data on which I want...
Spleen asked 17/5, 2021 at 13:48

5

I am using primeNg <p-table>. I want to implement sorting of data. What I did is below sort.HTML <p-table [columns]="cols" [value]="documents"> <ng-template pTemplate="header" let...
Keating asked 28/6, 2018 at 9:43

2

Solved

I have a p-table defined with [scrollable]="true" <p-table *ngIf="!loading" [value]="data" [resizableColumns]="true" [reorderableColumns]="true&q...
Ombudsman asked 7/12, 2021 at 15:9

5

Solved

I am trying to implement both column resize and stick header. But sticky header works fine if I won't use the column resize. If I implement both, column resize is working but sticky header is not w...
Turbulent asked 3/9, 2019 at 8:53

3

Solved

I have a very large amount of data (400.000 records) that I need to show in a PrimeNG data table. For this I need a lazy loading table, since you cannot load all data into the table in one time (th...

2

Solved

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!
Selfish asked 19/4, 2019 at 6:4

5

Solved

I want to make my PrimeNG table columns autofit and resizable. How can I achieve that?
Contrarily asked 28/6, 2018 at 6:20

1

Solved

I'm trying to disable sorting of selected columns based on Boolean value in PrimeNG table. Below is my columns array cols = [ { field: 'name', header: 'Name', sort: true }, { field: 'age', header...
Cumae asked 20/5, 2022 at 14:2

2

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 d...
Herv asked 24/8, 2020 at 12:29

2

Solved

I am working on an Angular application using PrimeNG. In particular I am using a PrimeNG DataTable, this coponent: https://primefaces.org/primeng/showcase/#/table I have no problem using it in the ...
Actuality asked 8/12, 2020 at 17:23

4

I am using new PrimengV7 p-table I want export the table, So my code is <p-header> <div class="pull-right" *ngIf="collapsed"> <a href="javascript:void(0)" (click)="dt.exportCSV(...
Moorer asked 15/2, 2019 at 6:11

6

Solved

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,...
Sherfield asked 9/8, 2017 at 14:57

3

Filter date range || Datatable I need some help on how to filter date range..dateCreated I want to search date created in search input, but it seems, it's not working. No records found. I was sea...
Abdication asked 30/4, 2018 at 10:24

3

I am migrating a module from primeng 7 to primeng11 along with angular11 the code runs perfectly fine on ng serve the functionalities are working too but on build I am getting a weird error error ...
Notarial asked 28/1, 2021 at 14:18

3

I am using primeNG datatable in my angular project. In one of my scenario I need to get the current page number of primeNG data table and pass that number to the next screen and when user navigate ...
Tetragon asked 24/8, 2017 at 8:28

4

I want to reduce the width of a few columns I'm using in primeng grid. However as per my understanding, we can only change the width of columns we create using "p-column" or the "th" tag. PFA code...

4

Solved

I have a PrimeNG grid and the data served by the PrimeNG is from a service which have server side paginated data and from the server we would receive only our current page record. I have my HTML c...
Viehmann asked 25/10, 2017 at 7:3

3

Solved

I am having trouble trying to fetch data to my overlay.Where did I go wrong ? My goal is to fetch from an user array ,data (like cId,logged hours) and display it inside my table. <button [dis...
Illogicality asked 8/4, 2019 at 15:42

6

I am following the templating option given in primeng docs to create a link with column data alongside in a primeng datatable column, but I am not able to show nested object using {{data[col.field]...
Phenacaine asked 8/1, 2018 at 6:54

4

Solved

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 thou...
Marylou asked 19/7, 2018 at 7:16

2

I am using PrimeNG 6.0.2 with Angular 5 and I'm having issues with the Table plugin. I switched to Table because DataTable is deprecated. Now, I can't access filtered values the way I could before....
Chloechloette asked 6/8, 2018 at 14:51

1

Solved

I need to show a message when the lista data value is empty: <p-table [value]="listElement" [paginator]="true" [rows]="10" [rowsPerPageOptions]="[5,10,20]" [showCurrentPageReport]="true" empty...
Hann asked 11/5, 2020 at 10:4

4

Hi I am trying to convert my PrimeNG data-table to turbo table. Actually I have used [hidden]="!cols.visibility" in PrimeNG my data-table. Now what I should used to achieve the same in turbo table....
Lepidote asked 12/2, 2018 at 8:45

2

How do i display multiple field within a primeng auto complete box. for example: <p-autoComplete [(ngModel)]="val" [suggestions]="results" (completeMethod)="search($event)" field="name,lastnam...

© 2022 - 2024 — McMap. All rights reserved.