Sets/gets the filtering operands.
const gridExpressionsTree = new FilteringExpressionsTree(FilteringLogic.And);
const expression = [
{
condition: IgxStringFilteringOperand.instance().condition('contains'),
fieldName: 'Column Field',
searchVal: 'Value',
ignoreCase: false
}];
gridExpressionsTree.filteringOperands.push(expression);
this.grid.filteringExpressionsTree = gridExpressionsTree;
let filteringOperands = gridExpressionsTree.filteringOperands;
Sets/gets the operator.
gridExpressionsTree.operator = FilteringLogic.And;
let operator = gridExpressionsTree.operator;
Returns the filtering expression for a column with the provided fieldName.
let filteringExpression = gridExpressionTree.find('Column Field');
Returns the index of the filtering expression for a column with the provided fieldName.
let filteringExpressionIndex = gridExpressionTree.findIndex('Column Field');
Sets/gets the field name of the column where the filtering expression is placed.
gridExpressionTree.fieldName = 'Column Field';
let columnField = expressionTree.fieldName;
FilteringExpressionsTree