Class TreeGridFilteredColumnBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class TreeGridFilteredColumnBuilder
Constructors
TreeGridFilteredColumnBuilder(TreeGridFilterSettings)
Initializes a new instance of the
Declaration
public TreeGridFilteredColumnBuilder(TreeGridFilterSettings filterOptions)
Parameters
Type | Name | Description |
---|---|---|
TreeGridFilterSettings | filterOptions | It accepts the list of FilterSettings options |
Fields
filterOptions
Declaration
public TreeGridFilterSettings filterOptions
Field Value
Type | Description |
---|---|
TreeGridFilterSettings |
Methods
Add()
It passes the Filteredcolumn into the filterSettings.
Declaration
public void Add()
Field(String)
It sets a value that indicates field name of the column to be filtered.
Declaration
public TreeGridFilteredColumnBuilder Field(string field)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | It accepts the string value and displays the fieldname to filter |
Returns
Type | Description |
---|---|
TreeGridFilteredColumnBuilder | TreeGridFilteredColumnBuilder |
MatchCase(Boolean)
It sets a value that indicates to perform the filter operation with case sensitive
Declaration
public TreeGridFilteredColumnBuilder MatchCase(bool matchCase)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | matchCase | It accepts the boolean value and enables or disables the case sensitive on filtering |
Returns
Type | Description |
---|---|
TreeGridFilteredColumnBuilder | TreeGridFilteredColumnBuilder |
Operator(FilterOperatorType)
The tree grid controls uses filter operators from DataManager, which are used at the time of filtering.
Declaration
public TreeGridFilteredColumnBuilder Operator(FilterOperatorType filterOperator)
Parameters
Type | Name | Description |
---|---|---|
FilterOperatorType | filterOperator | It displays the filterOperator on filtering |
Returns
Type | Description |
---|---|
TreeGridFilteredColumnBuilder | TreeGridFilteredColumnBuilder |
Predicate(String)
It sets a value that indicates whether to define the predicate as and/or.
Declaration
public TreeGridFilteredColumnBuilder Predicate(string filterPredicate)
Parameters
Type | Name | Description |
---|---|---|
System.String | filterPredicate | It accepts the string value and displays filtered value based on and/or condition |
Returns
Type | Description |
---|---|
TreeGridFilteredColumnBuilder | TreeGridFilteredColumnBuilder |
Value(String)
It sets a value that indicates whether to define the value to be filtered in a column.
Declaration
public TreeGridFilteredColumnBuilder Value(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | It accepts the value to be filtered based on object value passed |
Returns
Type | Description |
---|---|
TreeGridFilteredColumnBuilder | TreeGridFilteredColumnBuilder |