In PrimeNg data table , is it possible to freeze first few columns and have horizontal scroll-x for the rest ? I want exactly similar to this :
https://datatables.net/extensions/fixedcolumns/examples/initialisation/two_columns.html
<p-dataTable [value]="..yoursource" [frozenWidth]="Set your frozen width in px" [unfrozenWidth]="Set your un frozen width in px">
-- frozen column
<p-column [header]="" [frozen]="true">
<template>
</template>
</p-column>
--unfrozen column
<p-column>
<p-column>
</p-dataTable>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With