I am using Angular2 with PrimeNG components. In <p-datatable>
, the onRowUnselect
event is not firing.
Here is my sample code:
<p-dataTable [value]="incidentData" [rows]="3" reorderableColumns="true" (onRowClick)="onRowSelectInvestigation($event)" (onRowUnselect)="onRowUnselect($event)" [(selection)]="selectedIncident">
You need to add
selectionMode="single"
to get that method to work.