Class GridSearchSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
GridSearchSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Grids
Assembly: Syncfusion.AspNetMvc.Grid.dll
Syntax
public class GridSearchSettingsBuilder : ControlBuilder
Constructors
GridSearchSettingsBuilder()
Declaration
public GridSearchSettingsBuilder()
GridSearchSettingsBuilder(GridSearchSettings)
Declaration
public GridSearchSettingsBuilder(GridSearchSettings model)
Parameters
| Type | Name | Description |
|---|---|---|
| GridSearchSettings | model |
Methods
Fields(String[])
Specifies the collection of fields included in search operation. By default, bounded columns of the Grid are included.
Declaration
public GridSearchSettingsBuilder Fields(string[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | value |
Returns
| Type |
|---|
| GridSearchSettingsBuilder |
IgnoreAccent(Boolean)
If ignoreAccent set to true, then filter ignores the diacritic characters or accents while filtering.
Declaration
public GridSearchSettingsBuilder IgnoreAccent(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| GridSearchSettingsBuilder |
IgnoreCase(Boolean)
If ignoreCase is set to false, searches records that match exactly, else
searches records that are case insensitive(uppercase and lowercase letters treated the same).
Declaration
public GridSearchSettingsBuilder IgnoreCase(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| GridSearchSettingsBuilder |
Key(String)
Specifies the key value to search Grid records at initial rendering. You can also get the current search key.
Declaration
public GridSearchSettingsBuilder Key(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| GridSearchSettingsBuilder |
Operator(String)
Defines the operator to search records. The available operators are:
Declaration
public GridSearchSettingsBuilder Operator(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| GridSearchSettingsBuilder |