Display row only if certain conditions are met in ngx-datatable

TypeScript File In ngx-datatable we show our data to the datatable link this [rows]=”rows”, what you need to do is filter out the objects you don’t want to be in the datatable, something like this in your TypeScript file filterDataList: any; const case1= ‘Aryan’; const case2= ‘Maurya’; this.filterDataList = this.rows.filter(row => case1.includes(row.first_name)); this.filterDataList = this.rows.filter(row […]