Closed DinukaGayan closed 6 years ago
You can rewrite the reloadTable
function as the following, passing a second arg to the query
function:
carResource = new DataTableResource(cars);
reloadTable() {
this.carResource .query(params, **filterFunc**).then(cars => this.cars = cars);`
}
filterFunc signature is (item: T, index: number, items: T[]) => boolean)
Can you describe how to implement filter function in this?Column wise searching and All columns