Class GridFilterSettings
Configures grid filtering.
Inheritance
System.Object
GridFilterSettings
Assembly: Syncfusion.Blazor.dll
Syntax
public class GridFilterSettings : SfDataBoundComponent
Constructors
GridFilterSettings()
Declaration
public GridFilterSettings()
Properties
Columns
Specifies the columns to be filtered at initial rendering of the Grid. You can also get the columns that were currently filtered.
Declaration
public List<GridFilterColumn> Columns { get; set; }
Property Value
Remarks
EnableCaseSensitivity
If EnableCaseSensitivity is set to true then searches grid records with exact match based on the filter
operator. It will have no effect on number, boolean and Date fields.
Declaration
public bool EnableCaseSensitivity { get; set; }
Property Value
Defines the time delay (in milliseconds) in filtering records when the Immediate mode of filter bar is set.
Declaration
public int ImmediateModeDelay { get; set; }
Property Value
Mode
Defines the filter bar modes. The available options are.
- OnEnterInitiate filter operation after Enter key is pressed.
- ImmediateInitiate filter operation after certain time interval. By default time interval is 1500ms.
Declaration
public FilterBarMode Mode { get; set; }
Property Value
Operators
The Operators is used to override the default operators in filter menu. This should be defined by type wise
(string, number, date and boolean). Based on the column type, this customize operator list will render in filter menu.
Declaration
public object Operators { get; set; }
Property Value
ShowFilterBarStatus
Shows or hides the filtered status message on the pager.
Declaration
public bool ShowFilterBarStatus { get; set; }
Property Value
Type
Defines options for filtering type. The available options are.
- FilterBarDefault. Specifies the filter type as filter bar.
- MenuSpecifies the filter type as menu.
- CheckBoxSpecifies the filter type as check box.
- ExcelSpecifies the filter type as excel.
Declaration
public FilterType Type { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder |
__builder |
|
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
System.Threading.Tasks.Task |
Overrides
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
System.Threading.Tasks.Task |
Overrides
UpdateChildProperties(String, List<GridFilterColumn>)
Declaration
public void UpdateChildProperties(string key, List<GridFilterColumn> value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Collections.Generic.List<GridFilterColumn> |
value |
|