Class GridSearchSettings
Configures grid searching.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class GridSearchSettings : SfDataBoundComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
GridSearchSettings()
Declaration
public GridSearchSettings()
Properties
Fields
Specifies the collection of fields included in search operation. By default, bounded columns of the Grid are included.
Declaration
[Parameter]
public string[] Fields { get; set; }
Property Value
| Type |
|---|
| string[] |
IgnoreAccent
If ignoreAccent set to true, then filter ignores the diacritic characters or accents while filtering.
Declaration
[Parameter]
public bool IgnoreAccent { get; set; }
Property Value
| Type |
|---|
| bool |
Remarks
Ignore accent is supported by remote data alone. IgnoreAccent key will be sent to server and operation should be handled at user level.
IgnoreCase
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
[Parameter]
public bool IgnoreCase { get; set; }
Property Value
| Type |
|---|
| bool |
Key
Specifies the key value to search Grid records at initial rendering. You can also get the current search key.
Declaration
[Parameter]
public string Key { get; set; }
Property Value
| Type |
|---|
| string |
Operator
Defines the operator to search records.
Declaration
[Parameter]
public Operator Operator { get; set; }
Property Value
| Type |
|---|
| Operator |
Methods
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
Overrides
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type |
|---|
| Task |