table pReorderableRowHandle directive

UI Components for Angular
Post Reply
chang0908
Posts: 1
Joined: 27 Jan 2019, 09:14

27 Jan 2019, 09:36

I need to re-order arrays via using table pReorderableRowHandle in DynamicDialog.
How can parent component communicate DynamicDialog and pass arrays and return re-order arrays to patent component?

const ref = this.dialogService.open(CarsListComponent, {
data: cars
header: 'Choose a Car',
width: '70%'
});


<tr [pReorderableRow]="index">
<td>
<i class="fa fa-bars" pReorderableRowHandle (handler) = "updateReorder($event)" ></i>
</td>
<td *ngFor="let col of columns">
{{rowData[col.field]}}
</td>
</tr>

saiediitm
Posts: 2
Joined: 12 Mar 2019, 17:16

12 Mar 2019, 17:19

Was this link viewtopic.php?t=46214 helpful?

I am also stuck on something similar. Any help is appreciated

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests