[FIXED] p-table Column Reorder and Column Resize doesn't work

Issue

I have an issue with data table having Column Reorder and Column Resize doesn’t work.
Also i tried enable and disable one of them..
project that reproduces the problem

https://stackblitz.com/edit/angular-ptable?file=src%2Fapp%2Fapp.component.html

Solution

https://stackblitz.com/edit/angular-ptable-3ft2xt

<tr>
            <th *ngFor="let col of columns" **pReorderableColumn pResizableColumn** >
                {{col.header}}
               <p-sortIcon [field]="col.field"
                  ariaLabel="Activate to sort" 
                  ariaLabelDesc="Activate to sort in descending order" 
                  ariaLabelAsc="Activate to sort in ascending order">
                </p-sortIcon>
            </th>
        </tr>

Answered By – Indrakumara

Answer Checked By – Willingham (Easybugfix Volunteer)

Leave a Reply

(*) Required, Your email will not be published