I am using PrimeNG with Global filter added to my table:
<input #gb type="text" pInputText size="50" placeholder="Filter">
Datatable:
<p-dataTable *ngIf="users != null && users.length > 0" [value]="users" loadingIcon="fa-spinner" [globalFilter]="gb">
I need to send mails to the users that have been filtered. I noticed however that the users count (amount of users) does not update upon filter.
The records are displayed correctly based on the filter in the table but mailing these users would send the mail to all users retrieved from the DB.
Is there a way of updating the actual users' amount upon filter using PrimeNG filter option?