Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144448 | May 7,2019 09:51 AM UTC | Jun 11,2019 10:59 AM UTC | Angular - EJ 2 | 2 |
![]() |
Tags: Grid |
initFilter() {
console.log('bound');
this.filter('inactive');
}
filter(value: string) {
if (value == 'all' && this.grid.filterSettings.columns.length ) { //Check the filtered columns length
this.grid.clearFiltering();
}
if (value == 'active') {
this.grid.filterByColumn('CustomerID', 'equal', 'VINET');
}
if (value == 'inactive') {
this.grid.filterByColumn('OrderID', 'equal', 10248);
}
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.