Search code examples
angularprimengprimeng-turbotable

How to use PrimeIcons with table/grid paginator


I am trying to build and the font awesome is large so I am trying to completely replace it with PrimeIcons

<p-table #dt id='incidents-grid' [value]='incidents' [totalRecords]='totalRecords'
    expandableRows='true' [responsive]='true' dataKey='IncidentId' *ngIf='visible'
    [rows]='5' [paginator]='true' [rowsPerPageOptions]='[5,10,50]'
    [lazy]='true' (onLazyLoad)='loadIncidentsLazy($event)' [loading]='loading'>

The paginator doc does not show anything.


Solution

  • Updated to the PrimeNG:

    "primeng": "^6.1.4",

    and the problem is solved.

    Hey DirtyMind: You referenced a different version and that triggered the solution.