Class GanttFilterSettings
Configures the filter settings for Gantt.
Inheritance
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class GanttFilterSettings : ComponentBase
Constructors
GanttFilterSettings()
Declaration
public GanttFilterSettings()
Properties
Columns
Gets or sets the list of columns to be filtered at initial rendering of the Gantt chart.
Declaration
public List<PredicateModel> Columns { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<PredicateModel> | A list of PredicateModel objects representing the columns to be filtered at the initial rendering of the Gantt chart. |
Remarks
Use this property to specify the columns that should be filtered at the initial rendering of the Gantt chart. To get the columns that are currently filtered, access this property after the chart has been rendered.
HierarchyMode
Gets or sets the filter hierarchy mode for the gantt chart. The available options are,
Parent
: Shows the filtered record with parent record.
Child
: Shows the filtered record with child record.
Both
: shows the filtered record with both parent and child record.
None
: Shows only filtered record.
Declaration
public FilterHierarchyMode HierarchyMode { get; set; }
Property Value
Type | Description |
---|---|
FilterHierarchyMode | A FilterHierarchyMode value that specifies how the records should be filtered in the chart. |
Remarks
Use this property to set the filter hierarchy mode for the Gantt chart.
IgnoreAccent
Gets or sets a value that indicates whether the filter should ignores the diacritic characters or accents while filtering.
Declaration
public bool IgnoreAccent { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
Use this property to specify whether the filter should ignore diacritic characters or accents while filtering.
If this property is set to true
, then the filter will ignore diacritic characters or accents while filtering.
By default, this property is set to false
, which means that diacritic characters or accents are taken into account while filtering.
Operators
Gets or sets a value that allows you to customize the filter operations.
Declaration
public object Operators { get; set; }
Property Value
Type | Description |
---|---|
System.Object | An object that defines custom filter operators for specific data types. |
Remarks
Use this property to customize the filter operators that are displayed in the filter menu for specific data types.
The Operators
property should be defined by data type (string, number, date, and boolean).
Based on the data type of the column, the customized operator list will be rendered in the filter menu.
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 |
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |