Class TreeGridEvents<TValue>
Configures Tree Grid events
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
TreeGridEvents<TValue>
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeGridEvents<TValue> : SfDataBoundComponent
Type Parameters
Constructors
TreeGridEvents()
Declaration
Properties
BeforeBatchAdd
Triggers before records are added in batch mode.
Declaration
public EventCallback<object> BeforeBatchAdd { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
|
BeforeBatchDelete
Triggers before records are deleted in batch mode.
Declaration
public EventCallback<object> BeforeBatchDelete { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
|
BeforeBatchSave
Triggers before records are saved in batch mode.
Declaration
public EventCallback<object> BeforeBatchSave { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
|
CellDeselected
Triggers after any cell deselection occurs.
Declaration
public EventCallback<CellDeselectEventArgs<TValue>> CellDeselected { get; set; }
Property Value
CellDeselecting
Triggers before any cell deselection occurs.
Declaration
public EventCallback<CellDeselectEventArgs<TValue>> CellDeselecting { get; set; }
Property Value
CellSaved
Triggers when cell is saved.
Declaration
public EventCallback<CellSaveArgs<TValue>> CellSaved { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<CellSaveArgs<TValue>> |
|
CellSelected
Triggers after a cell is selected.
Declaration
public EventCallback<CellSelectEventArgs<TValue>> CellSelected { get; set; }
Property Value
CellSelecting
Triggers before any cell selection occurs.
Declaration
public EventCallback<CellSelectingEventArgs<TValue>> CellSelecting { get; set; }
Property Value
CheckboxChange
Triggers when checkbox column state changed.
Declaration
public EventCallback<CheckBoxChangeEventArgs<TValue>> CheckboxChange { get; set; }
Property Value
Collapsed
Triggers after the record is collapsed.
Declaration
public EventCallback<RowCollapsedEventArgs<TValue>> Collapsed { get; set; }
Property Value
Collapsing
Triggers while collapsing the TreeGrid record
Declaration
public EventCallback<RowCollapsingEventArgs<TValue>> Collapsing { get; set; }
Property Value
ColumnMenuItemClicked
Triggers when click on column menu.
Declaration
public EventCallback<ColumnMenuClickEventArgs> ColumnMenuItemClicked { get; set; }
Property Value
CommandClicked
Triggers when command button is clicked.
Declaration
public EventCallback<CommandClickEventArgs<TValue>> CommandClicked { get; set; }
Property Value
Triggers when click on context menu.
Declaration
public EventCallback<ContextMenuClickEventArgs<TValue>> ContextMenuItemClicked { get; set; }
Property Value
Triggers before context menu is opened.
Declaration
public EventCallback<ContextMenuOpenEventArgs<TValue>> ContextMenuOpen { get; set; }
Property Value
Created
Triggers when the component is created.
Declaration
public EventCallback<object> Created { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
|
DataBound
Triggers when data source is populated in the TreeGrid.
Declaration
public EventCallback<object> DataBound { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
|
Destroyed
Triggers when the component is destroyed.
Declaration
public EventCallback<object> Destroyed { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
|
DetailDataBound
Triggers after detail row expands.
This event triggers at initial expand.
Declaration
public EventCallback<DetailDataBoundEventArgs<TValue>> DetailDataBound { get; set; }
Property Value
ExcelQueryCellInfoEvent
The ExcelQueryCellInfoEvent event is triggered every time a data is entered into a cell of the excel sheet. So this event is triggered as many times as the data is entered into a cell.
Declaration
public EventCallback<ExcelQueryCellInfoEventArgs<TValue>> ExcelQueryCellInfoEvent { get; set; }
Property Value
Expanded
Triggers after the record is expanded
Declaration
public EventCallback<RowExpandedEventArgs<TValue>> Expanded { get; set; }
Property Value
Expanding
Triggers while expanding the TreeGrid record
Declaration
public EventCallback<RowExpandingEventArgs<TValue>> Expanding { get; set; }
Property Value
Triggered for stacked header.
Declaration
public EventCallback<HeaderCellInfoEventArgs> HeaderCellInfo { get; set; }
Property Value
OnActionBegin
Triggers when TreeGrid actions such as sorting, filtering, paging etc., starts.
Declaration
public EventCallback<ActionEventArgs<TValue>> OnActionBegin { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<ActionEventArgs<TValue>> |
|
OnActionComplete
Triggers when TreeGrid actions such as sorting, filtering, paging etc. are completed.
Declaration
public EventCallback<ActionEventArgs<TValue>> OnActionComplete { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<ActionEventArgs<TValue>> |
|
OnActionFailure
Triggers when any TreeGrid action failed to achieve the desired results.
Declaration
public EventCallback<FailureEventArgs> OnActionFailure { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<FailureEventArgs> |
|
OnBatchAdd
Triggers before records are added in batch mode.
Declaration
public EventCallback<BeforeBatchAddArgs<TValue>> OnBatchAdd { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<BeforeBatchAddArgs<TValue>> |
|
OnBatchDelete
Triggers before records are deleted in batch mode.
Declaration
public EventCallback<BeforeBatchDeleteArgs<TValue>> OnBatchDelete { get; set; }
Property Value
OnBatchSave
Triggers before records are saved in batch mode.
Declaration
public EventCallback<BeforeBatchSaveArgs<TValue>> OnBatchSave { get; set; }
Property Value
OnBeginEdit
Triggers before the record is to be edit.
Declaration
public EventCallback<BeginEditArgs<TValue>> OnBeginEdit { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<BeginEditArgs<TValue>> |
|
OnCellEdit
Triggers when the cell is being edited.
Declaration
public EventCallback<CellEditArgs<TValue>> OnCellEdit { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<CellEditArgs<TValue>> |
|
OnCellSave
Triggers when cell is saved.
Declaration
public EventCallback<CellSaveArgs<TValue>> OnCellSave { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<CellSaveArgs<TValue>> |
|
OnDataBound
Triggers before data is bound to Tree Grid.
Declaration
public EventCallback<BeforeDataBoundArgs<TValue>> OnDataBound { get; set; }
Property Value
OnExcelExport
Triggers before TreeGrid data is exported to Excel file.
Declaration
public EventCallback<object> OnExcelExport { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
|
OnLoad
This event allows customization of TreeGrid properties before rendering.
Declaration
public EventCallback<object> OnLoad { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
|
OnPdfExport
Triggers before TreeGrid data is exported to PDF document.
Declaration
public EventCallback<object> OnPdfExport { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
|
OnRecordDoubleClick
Triggers when record is double clicked.
Declaration
public EventCallback<RecordDoubleClickEventArgs<TValue>> OnRecordDoubleClick { get; set; }
Property Value
OnResizeStart
Triggers when column resize starts.
Declaration
public EventCallback<ResizeArgs> OnResizeStart { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<ResizeArgs> |
|
OnRowDragStart
Triggers when row element's drag(move) starts.
Declaration
public EventCallback<RowDragEventArgs<TValue>> OnRowDragStart { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<RowDragEventArgs<TValue>> |
|
Triggers when toolbar item is clicked.
Declaration
public EventCallback<ClickEventArgs> OnToolbarClick { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<ClickEventArgs> |
|
Parent
Declaration
protected SfTreeGrid<TValue> Parent { get; set; }
Property Value
PdfQueryCellInfoEvent
The PdfQueryCellInfoEvent event is triggered every time a data is entered into a cell of the pdf document. So this event is triggered as many times as the data is entered into a cell.
Declaration
public EventCallback<PdfQueryCellInfoEventArgs<TValue>> PdfQueryCellInfoEvent { get; set; }
Property Value
QueryCellInfo
Triggered every time a request is made to access cell information, element, or data.
This will be triggered before the cell element is appended to the TreeGrid element.
Declaration
public EventCallback<QueryCellInfoEventArgs<TValue>> QueryCellInfo { get; set; }
Property Value
ResizeStopped
Triggers when column resize ends.
Declaration
public EventCallback<ResizeArgs> ResizeStopped { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<ResizeArgs> |
|
RowDataBound
Triggered every time a request is made to access row information, element, or data.
This will be triggered before the row element is appended to the TreeGrid element.
Declaration
public EventCallback<RowDataBoundEventArgs<TValue>> RowDataBound { get; set; }
Property Value
RowDeselected
Triggers when a selected row is deselected.
Declaration
public EventCallback<RowDeselectEventArgs<TValue>> RowDeselected { get; set; }
Property Value
RowDeselecting
Triggers before deselecting the selected row.
Declaration
public EventCallback<RowDeselectEventArgs<TValue>> RowDeselecting { get; set; }
Property Value
RowDropped
Triggers when row elements are dropped on the target row.
Declaration
public EventCallback<RowDragEventArgs<TValue>> RowDropped { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<RowDragEventArgs<TValue>> |
|
RowSelected
Triggers after a row is selected.
Declaration
public EventCallback<RowSelectEventArgs<TValue>> RowSelected { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<RowSelectEventArgs<TValue>> |
|
RowSelecting
Triggers before row selection occurs.
Declaration
public EventCallback<RowSelectingEventArgs<TValue>> RowSelecting { get; set; }
Property Value
Methods
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides