Class SearchOptionsBuilders
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class SearchOptionsBuilders
Constructors
SearchOptionsBuilders(SearchSettings)
Initializes a new instance of the
Declaration
public SearchOptionsBuilders(SearchSettings search)
Parameters
Type | Name | Description |
---|---|---|
SearchSettings | search | It displays the list of SearchSettings option |
Methods
Fields(Action<SearchFieldsBuilder>)
This specify the grid to search for the value in particular columns that is mentioned in the field.
Declaration
public SearchOptionsBuilders Fields(Action<SearchFieldsBuilder> searchFields)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SearchFieldsBuilder> | searchFields | It displays the list of SearchSettings option through lambda expression |
Returns
Type | Description |
---|---|
SearchOptionsBuilders | SearchOptionsBuilders |
Fields(List<String>)
This specify the grid to search for the value in particular columns that is mentioned in the field.
Declaration
public SearchOptionsBuilders Fields(List<string> searchFields)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | searchFields | It displays the list of SearchSettings option |
Returns
Type | Description |
---|---|
SearchOptionsBuilders | SearchOptionsBuilders |
IgnoreCase()
It enables or disables case-sensitivity while searching the search key in grid.
Declaration
public SearchOptionsBuilders IgnoreCase()
Returns
Type | Description |
---|---|
SearchOptionsBuilders | SearchOptionsBuilders |
IgnoreCase(Boolean)
It enables or disables case-sensitivity while searching the search key in grid.
Declaration
public SearchOptionsBuilders IgnoreCase(bool ignoreCase)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | ignoreCase | It accepts the boolean value and enables or disables the case-sensitivity |
Returns
Type | Description |
---|---|
SearchOptionsBuilders | SearchOptionsBuilders |
Key(String)
This specifies the grid to search the particular data that is mentioned in the key.
Declaration
public SearchOptionsBuilders Key(string searchKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | searchKey | It accepts the string value and search the data based on the key |
Returns
Type | Description |
---|---|
SearchOptionsBuilders | SearchOptionsBuilders |
Operator(Operator)
It specifies the grid to search the records based on operator.
Declaration
public SearchOptionsBuilders Operator(Operator operator)
Parameters
Type | Name | Description |
---|---|---|
Operator | operator | It displays the list of SearchSettings enum type operators |
Returns
Type | Description |
---|---|
SearchOptionsBuilders | SearchOptionsBuilders |
SearchFields(Action<SearchFieldsBuilder>)
Declaration
[Obsolete("SearchFields property has been deprecated.")]
public SearchOptionsBuilders SearchFields(Action<SearchFieldsBuilder> searchFields)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SearchFieldsBuilder> | searchFields |
Returns
Type | Description |
---|---|
SearchOptionsBuilders |
SearchFields(List<String>)
Declaration
[Obsolete("SearchFields property has been deprecated.")]
public SearchOptionsBuilders SearchFields(List<string> searchFields)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | searchFields |
Returns
Type | Description |
---|---|
SearchOptionsBuilders |
SearchKey(String)
Declaration
[Obsolete("SearchKey property has been deprecated.")]
public SearchOptionsBuilders SearchKey(string searchKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | searchKey |
Returns
Type | Description |
---|---|
SearchOptionsBuilders |