Hi teams, I was using ej-2 grid and do the own searching with the following function:
actionBegin(args) {
if (args.requestType === 'searching') {
args.cancel= true;
this.searchParam = args.searchString.toLowerCase();
console.log('key'+this.searchParam);
//api call
}
}
But the clear button cannot reset the result. My question is how should I get the click reset button in search bar event, so that I can call a refresh function to refatching the data without searchParam. Thanks!