recreateExpression
Recreates an expression from the given fields by applying the correct operands and adjusting the search value to be the correct type.
Signature
recreateExpression(expression: IFilteringExpression, fields: FieldType[]): IFilteringExpression Defined in projects/igniteui-angular/core/src/data-operations/expressions-tree-util.ts:141
Parameters
- expression:
IFilteringExpressionThe expression to recreate.
- fields:
FieldType[]An array of fields to use for recreating the expression.
Returns
IFilteringExpression
The recreated expression.