Questions tagged [primeng-datatable]

Questions about the PrimeNG DataTable component from PrimeTek Informatics.

Useful Links

398 questions
10
votes
4 answers

Sticky header not working with resizable column in Primeng.?

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 working. I used the following css from primeng for…
mkHun
  • 5,507
  • 1
  • 25
  • 65
10
votes
5 answers

Primeng make scrollable datatable height responsive

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 table that will adjust to whatever the height/width…
Nikita Marinosyan
  • 543
  • 1
  • 7
  • 23
9
votes
3 answers

how set primeng data table columns auto fit?

I have want to make prime ng data table columns set auto fit as well as re sizeable.So I have solved this issue changed in two css class .ui-datatable table and .ui-datatable-tablewrapper.
Nitin Wahale
  • 1,360
  • 1
  • 12
  • 23
9
votes
2 answers

PrimeNG datatable date range filter

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 searching about custom filter, and I'm having a hard time…
9
votes
6 answers

Display nested object in column in primeng

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]}}.
RemyaJ
  • 4,368
  • 3
  • 16
  • 37
9
votes
2 answers

Multiple field for AutoComplete box (primeng 4.2.0 and Angular 4)

How do i display multiple field within a primeng auto complete box. for example: or
8
votes
3 answers

PrimeNg sorting

I am using primeNg . I want to implement sorting of data. What I did is below sort.HTML
Anna
  • 1,497
  • 6
  • 27
  • 52
7
votes
4 answers

Can the width of a column be altered in a sortable primeng table?

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 snippets below: HTML:
Vaibhav Tiwari
  • 371
  • 1
  • 2
  • 8
7
votes
5 answers

How to use Primeng Menu with command and parameters in DataTable?

MenuItem of primeng has a parameter called command that is a function to be executed when its item is clicked. One example of using this is provided in https://www.primefaces.org/primeng/#/steps to give feedback to user. command: (event: any) => { …
Gabriel Costa
  • 199
  • 1
  • 3
  • 12
6
votes
4 answers

How to hide column in PrimeNG turbo table?

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. Previous datatable Column Code :
Vijay Dhanvai
  • 978
  • 2
  • 10
  • 22
6
votes
4 answers

PrimeNG export to CSV

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 code as below:
Rasmi
  • 401
  • 1
  • 4
  • 17
6
votes
0 answers

PrimeNG frozen column not working with headerColumnGroup

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…
Rj-s
  • 382
  • 2
  • 6
  • 15
5
votes
2 answers

PrimeNG Table get filtered row

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. Let's say I define my table in component via…
dzenesiz
  • 935
  • 3
  • 17
  • 40
5
votes
0 answers

PrimeNG DataTables with infinite scroll implemenation

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…
5
votes
2 answers

Overflow text in primeNg DataTabel cell

I want to hide overflow text in a DataTable cell primeNg, but nothing seems to work. I didn't find anything on their documentation that could help me.
Filip Laurentiu
  • 558
  • 2
  • 5
  • 20
1
2 3
26 27