I want to disable last page button in the primeNG
datatable div.
The paginator is in the p-datatable
tag.
code :
<div class="ui-g-12">
<p-dataTable [value]="bossDataTable" resizableColumns="true" columnResizeMode="expand" [lazy]="true" [rows]="15" [paginator]="true"
[totalRecords]="totalRecords" [rowsPerPageOptions]="[15,20,25,30,40,50]" (onLazyLoad)="getBossDataTable($event)" >
<!--some columns here -->
<p-footer><span><label i18n>Total:</label> {{totalRecords}}</span></p-footer>
</p-dataTable>
According to doc:
https://www.primefaces.org/primeng/#/paginator
I got last page style here:
ui-paginator-last
How can I disable the last page button?Hide it or disable it is OK.
Now the paginator looks like :
|< < 1 2 3 4 5 > >|