Primeng 10 migration table filter is not working

UI Components for Angular
Post Reply
ADAM@cbp
Posts: 6
Joined: 03 Sep 2019, 23:42

26 Mar 2021, 16:54

I have a p-table that filter the table based on a checkbox
p-checkbox id="ngShowActive" [(ngModel)]="activeOnlyCheckbox" (onChange)="activeFilter($event, table)" label="Show Active Only"
binary="true" labelStyleClass="pointer" *ngIf="showActiveOnly">
</p-checkbox>

activeFilter(event, table) {
event
? table.filter('true', 'ActiveFlag', 'equals')
: table.filter('', 'ActiveFlag', 'notEquals');
}

table filter is not working on primeng 10.

Any ideas

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests