datatables - How to freeze columns in PrimeNg data table - Angular 2? -


in primeng data table , possible freeze first few columns , have horizontal scroll-x rest ? want similar :

https://datatables.net/extensions/fixedcolumns/examples/initialisation/two_columns.html

<p-datatable [value]="..yoursource" [frozenwidth]="set frozen width in px" [unfrozenwidth]="set un frozen width in px">      -- frozen column     <p-column [header]="" [frozen]="true">       <template>                             </template>     </p-column>     --unfrozen column     <p-column>     <p-column>  </p-datatable> 

Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -