We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need show the filter result row count (ARRAY SIZE AFTER FILTERED) in frontend... Somebody know how I can do?
The text was updated successfully, but these errors were encountered:
You can use pipe implementation for that :
import * as _ from "lodash"; import {Pipe, PipeTransform} from "";
@pipe({ name: "dataFilter" }) export class DataFilterPipe implements PipeTransform {
transform(array: any[], query: string): any { if (query) { return _.filter(array, row=>row.name.indexOf(query) > -1 || row.email.indexOf(query) > -1); return array; }
Sorry, something went wrong.
@09abhishek where I see the (ARRAY SIZE AFTER FILTERED) in this?
No branches or pull requests
I need show the filter result row count (ARRAY SIZE AFTER FILTERED) in frontend... Somebody know how I can do?
The text was updated successfully, but these errors were encountered: