updateRule(args) {
let predicate = this.qbObj.getPredicate(args.rule);
if (isNullOrUndefined(predicate)) {
this.gridObj.query = new Query().select(['TaskID', 'Name', 'Category', 'SerialNo', 'InvoiceNo', 'Status']);
}
else {
this.gridObj.query = new Query().select(['TaskID', 'Name', 'Category', 'SerialNo', 'InvoiceNo', 'Status'])
.where(predicate);
}
this.gridObj.refresh();
}