Class IgbFilteringExpressionsTreeDetail
Inheritance
System.Object
IgbFilteringExpressionsTreeDetail
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbFilteringExpressionsTreeDetail : BaseRendererElement, JsonSerializable
Constructors
IgbFilteringExpressionsTreeDetail()
Declaration
public IgbFilteringExpressionsTreeDetail()
Properties
FieldName
Sets/gets the field name of the column where the filtering expression is placed.
gridExpressionTree.fieldName = 'Column Field';
let columnField = expressionTree.fieldName;
@memberof FilteringExpressionsTree
Declaration
public string FieldName { get; set; }
Property Value
Type |
Description |
System.String |
|
FilteringOperands
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;
@memberof FilteringExpressionsTree
Declaration
public IgbFilteringExpressionsTreeOrFilteringExpression[] FilteringOperands { get; set; }
Property Value
Operator
Sets/gets the operator.
gridExpressionsTree.operator = FilteringLogic.And;
let operator = gridExpressionsTree.operator;
@memberof FilteringExpressionsTree
Declaration
public FilteringLogic Operator { get; set; }
Property Value
TreeType
Sets/gets the type of the filtering expressions tree.
gridExpressionTree.type = FilteringExpressionsTree.Advanced;
let type = expressionTree.type;
@memberof FilteringExpressionsTree
Declaration
[WCWidgetMemberName("Type")]
public FilteringExpressionsTreeType TreeType { get; set; }
Property Value
Type
Declaration
public override string Type { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
Empty(IgbFilteringExpressionsTree)
Declaration
public bool Empty(IgbFilteringExpressionsTree expressionTree)
Parameters
Returns
Type |
Description |
System.Boolean |
|
EmptyAsync(IgbFilteringExpressionsTree)
Checks if filtering expressions tree is empty.
expressionTree filtering expressions tree.
Declaration
public Task<bool> EmptyAsync(IgbFilteringExpressionsTree expressionTree)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
Find(String)
Declaration
public IgbFilteringExpressionsTreeOrFilteringExpression Find(string fieldName)
Parameters
Type |
Name |
Description |
System.String |
fieldName |
|
Returns
FindAsync(String)
Returns the filtering expression for a column with the provided fieldName.
let filteringExpression = gridExpressionTree.find('Column Field');
@memberof FilteringExpressionsTree
Declaration
public Task<IgbFilteringExpressionsTreeOrFilteringExpression> FindAsync(string fieldName)
Parameters
Type |
Name |
Description |
System.String |
fieldName |
|
Returns
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
Overrides
FindIndex(String)
Declaration
public double FindIndex(string fieldName)
Parameters
Type |
Name |
Description |
System.String |
fieldName |
|
Returns
Type |
Description |
System.Double |
|
FindIndexAsync(String)
Returns the index of the filtering expression for a column with the provided fieldName.
let filteringExpressionIndex = gridExpressionTree.findIndex('Column Field');
@memberof FilteringExpressionsTree
Declaration
public Task<double> FindIndexAsync(string fieldName)
Parameters
Type |
Name |
Description |
System.String |
fieldName |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
FromEventJson(BaseRendererControl, Dictionary<String, Object>)
Declaration
protected override void FromEventJson(BaseRendererControl control, Dictionary<string, object> args)
Parameters
Type |
Name |
Description |
BaseRendererControl |
control |
|
System.Collections.Generic.Dictionary<System.String, System.Object> |
args |
|
Overrides
SetNativeElement(Object)
Declaration
public void SetNativeElement(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
SetNativeElementAsync(Object)
Declaration
public Task SetNativeElementAsync(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ToEventJson(BaseRendererControl, Dictionary<String, Object>)
Declaration
protected override void ToEventJson(BaseRendererControl control, Dictionary<string, object> args)
Parameters
Type |
Name |
Description |
BaseRendererControl |
control |
|
System.Collections.Generic.Dictionary<System.String, System.Object> |
args |
|
Overrides
Implements