I am trying to use reorderableColumns
and scrollable
properties together in my p-datatable
.
But it seems that it is not working as expected. When we try to drag the columns it is not moving. If we remove scrollable property from code, then everything will work fine.
This is my oneline code
<p-dataTable id="empListGrid" [value]="list" [paginator]="true" [rows]="10" [rowsPerPageOptions]="[10,20,30,50,100]" [responsive]="true" [reorderableColumns]="true" [editable]="true" scrollable="true" scrollWidth="1200px">
Thanks in advance