Optional
fieldSets/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;
Optional
typeSets/gets the type of the filtering expressions tree.
gridExpressionTree.type = FilteringExpressionsTree.Advanced;
let type = expressionTree.type;
Returns the filtering expression for a column with the provided fieldName.
let filteringExpression = gridExpressionTree.find('Column Field');
Static
emptyChecks if filtering expressions tree is empty.
filtering expressions tree.
Sets/gets the field name of the column where the filtering expression is placed.