Class FilteredColumnBuilder<T>
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class FilteredColumnBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
FilteredColumnBuilder(FilterSettings)
It sets an object that indicates whether to customize the filtering behavior of the grid
Declaration
public FilteredColumnBuilder(FilterSettings filterOptions)
Parameters
Type | Name | Description |
---|---|---|
FilterSettings | filterOptions | It accepts the list of FilterSettings options |
Fields
FilterOptions
Declaration
public FilterSettings FilterOptions
Field Value
Type | Description |
---|---|
FilterSettings |
Methods
Add()
It passes the Filteredcolumn into the filterSettings.
Declaration
public void Add()
Field(String)
It sets a value that indicates whether to define the field name of the column to be filter.
Declaration
public FilteredColumnBuilder<T> Field(string field)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | It accepts the string value and displays the fieldname to filter |
Returns
Type | Description |
---|---|
FilteredColumnBuilder<T> | FilteredColumnBuilder |
MatchCase(Boolean)
It sets a value that indicates to perform the filter operation with case sensitive
Declaration
public FilteredColumnBuilder<T> 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 |
---|---|
FilteredColumnBuilder<T> | FilteredColumnBuilder |
Operator(FilterOperatorType)
The grid controls uses filter operators from DataManager, which are used at the time of filtering.
Declaration
public FilteredColumnBuilder<T> Operator(FilterOperatorType operator)
Parameters
Type | Name | Description |
---|---|---|
FilterOperatorType | operator | It displays the filterOperator on filtering |
Returns
Type | Description |
---|---|
FilteredColumnBuilder<T> | FilteredColumnBuilder |
Predicate(String)
It sets a value that indicates whether to define the predicate as and/or.
Declaration
public FilteredColumnBuilder<T> Predicate(string predicate)
Parameters
Type | Name | Description |
---|---|---|
System.String | predicate | It accepts the string value and displays filtered value based on and/or condition |
Returns
Type | Description |
---|---|
FilteredColumnBuilder<T> | FilteredColumnBuilder |
Value(Object)
It sets a value that indicates whether to define the value to be filtered in a column.
Declaration
public FilteredColumnBuilder<T> Value(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | It accepts the value to be filtered based on object value passed |
Returns
Type | Description |
---|---|
FilteredColumnBuilder<T> | FilteredColumnBuilder |