BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
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);
}
}
} |