Class QueryBuilderEvents<TValue>
Used to configure the query builder events.
Inheritance
Namespace: Syncfusion.Blazor.QueryBuilder
Assembly: Syncfusion.Blazor.dll
Syntax
public class QueryBuilderEvents<TValue> : OwningComponentBase
Type Parameters
Name |
---|
TValue |
Constructors
QueryBuilderEvents()
Declaration
public QueryBuilderEvents()
Properties
Changed
Gets or sets an event callback that is raised after changing the condition(AND/OR), field, value, operator is changed.
Declaration
public EventCallback<ChangeEventArgs> Changed { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ChangeEventArgs> | An event callback function. |
Created
Gets or sets an event callback that is raised after the component is created.
Declaration
public EventCallback<object> Created { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> | An event callback function. |
DataBound
Triggers when data source is populated in the Querybuilder.
Declaration
public EventCallback<object> DataBound { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> | An event callback function. |
OnActionFailure
Gets or sets an event callback that is raised after the data fetch request from the remote server fails.
Declaration
public EventCallback<Exception> OnActionFailure { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Exception> | An event callback function. |
OnValueChange
Gets or sets an event callback that is raised before the condition (And/Or), field, operator, value is changed.
Declaration
public EventCallback<ChangeEventArgs> OnValueChange { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ChangeEventArgs> | An event callback function. |
RuleChanged
Gets or sets an event callback that is raised after changing the condition(AND/OR), field, value, operator is changed.
Declaration
public EventCallback<RuleChangeEventArgs> RuleChanged { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<RuleChangeEventArgs> | An event callback function. |
RuleDragStarting
Gets or sets the event callback that is invoked before dragging a rule or group in a SfQueryBuilder<TValue>.
Declaration
public EventCallback<RuleDragStartingEventArgs> RuleDragStarting { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<RuleDragStartingEventArgs> |
Remarks
This event will be triggered when the AllowDragAndDrop property is set to true
.
RuleDropped
Gets or sets the event that is raised after dropping a rule or group onto another SfQueryBuilder<TValue> rule or group.
Declaration
public EventCallback<RuleDroppedEventArgs> RuleDropped { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<RuleDroppedEventArgs> |
Remarks
This event will be triggered when the AllowDragAndDrop property is set to true
.
RuleDropping
Gets or sets the event callback that occurs before dropping an item onto another SfQueryBuilder<TValue> item.
Declaration
public EventCallback<RuleDroppingEventArgs> RuleDropping { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<RuleDroppingEventArgs> |
Remarks
This event will be triggered when the AllowDragAndDrop property is set to true
.
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |