I have a PrimeNG table using the CellEdiding Function
Code: Select all
<p-table [value]="products" dataKey="name" (onEditInit)="onEditInit($event)" (onEditComplete)="onEditComplete($event)" (onEditCancel)="onEditCancel($event)"
>
...
<tr>
<td
[pEditableColumn]="product.name"
[pEditableColumnField]="product.comment"
[pEditableColumnRowIndex]="product.id"
>
...
Is there any way to do it by clicking on a button ?
Exemple available @ https://stackblitz.com/edit/primeng- ... onent.html
Thanks