p-table primeng reorder columns code example
Example: primeng table reorder columns
<p-dataTable [value]="browsers" reorderableColumns="true"> <p-column field="engine" header="Engine"></p-column> <p-column field="browser" header="Browser"></p-column> <p-column field="platform" header="Platform"></p-column> <p-column field="grade" header="Grade"></p-column></p-dataTable>