Class
TreeListColumn

The class for data columns in the treelist that can show all types of data.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class TreeListColumn : BoundColumnBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IColumn, ITreeListColumnMenuColumn, ITableColumnMenuColumn

Inheritance: objectComponentBaseColumnBaseBoundColumnBaseTreeListColumn

Implements: IColumnIComponentIDisposableIHandleAfterRenderIHandleEventITableColumnMenuColumnITreeListColumnMenuColumn

Inherited Members BoundColumnBase.OnParametersSet()BoundColumnBase.GetParsedFieldEditorType(Enum, bool)BoundColumnBase.FieldBoundColumnBase.FieldTypeBoundColumnBase.TitleBoundColumnBase.DisplayFormatBoundColumnBase.EditableBoundColumnBase.FilterableBoundColumnBase.SortableBoundColumnBase.ChildContentBoundColumnBase.TemplateBoundColumnBase.HeaderTemplateBoundColumnBase.EditorTemplateBoundColumnBase.TextAlignBoundColumnBase.FilterCellTemplateBoundColumnBase.FilterMenuTemplateBoundColumnBase.FilterMenuButtonsTemplateBoundColumnBase.FilterMenuTypeBoundColumnBase.ShowFilterCellButtonsBoundColumnBase.DefaultFilterOperatorBoundColumnBase.FilterOperatorsBoundColumnBase.FilterEditorFormatBoundColumnBase.VisibleInColumnChooserBoundColumnBase.LockableBoundColumnBase.ShowColumnMenuBoundColumnBase.ShowColumnChooserBoundColumnBase.PropertyTypeColumnBase.OnInitialized()ColumnBase.SetParametersAsync(ParameterView)ColumnBase.OnParametersSetAsync()ColumnBase.OnAfterRender(bool)ColumnBase.Dispose()ColumnBase.ParentColumnColumnBase.HeaderClassColumnBase.WidthColumnBase.MinResizableWidthColumnBase.MaxResizableWidthColumnBase.VisibleColumnBase.ReorderableColumnBase.ResizableColumnBase.LockedColumnBase.IdColumnBase.ColumnsCollectionComponentBase.OnInitializedAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)

Constructors

TreeListColumn()

Declaration

cs-api-definition
public TreeListColumn()

Properties

Columns

The list of child columns to produce multi-column headers.

Declaration

cs-api-definition
[Parameter]
public RenderFragment Columns { get; set; }

Property Value

RenderFragment

EditorType

Defines the editor used for editing for the given field. If not provided, a default editor will be used based on the field data type.

Declaration

cs-api-definition
[Parameter]
public TreeListEditorType? EditorType { get; set; }

Property Value

TreeListEditorType?

Expandable

Specifies if the column should render an expand toggle.

Declaration

cs-api-definition
[Parameter]
public bool Expandable { get; set; }

Property Value

bool

FilterEditorType

Defines the editor used for filtering for the given field. If not provided, a default editor will be used based on the field data type.

Declaration

cs-api-definition
[Parameter]
public TreeListFilterEditorType? FilterEditorType { get; set; }

Property Value

TreeListFilterEditorType?

FooterTemplate

Declaration

cs-api-definition
public RenderFragment<FooterTemplateContext> FooterTemplate { get; set; }

Property Value

RenderFragment<FooterTemplateContext>

OnCellRender

Called each time a cell is rendered. Use this to add custom classes to the cell based on its value.

Declaration

cs-api-definition
[Parameter]
public Action<TreeListCellRenderEventArgs> OnCellRender { get; set; }

Property Value

Action<TreeListCellRenderEventArgs>

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

ThrowIfInvalidEditorType()

Declaration

cs-api-definition
protected override void ThrowIfInvalidEditorType()

Overrides BoundColumnBase.ThrowIfInvalidEditorType()

ThrowIfInvalidFilterEditorType()

Declaration

cs-api-definition
protected override void ThrowIfInvalidFilterEditorType()

Overrides BoundColumnBase.ThrowIfInvalidFilterEditorType()