New to Telerik UI for BlazorStart a free 30-day trial

A data column for TelerikTreeList<TItem> that displays and edits field values. Supports expand toggle via Expandable, multi-column headers through nested Columns (TreeListColumn children), and per-cell styling with OnCellRender (TreeListCellRenderEventArgs). Configure editors with EditorType (TreeListEditorType) and filter editors with FilterEditorType (TreeListFilterEditorType); add footer content via FooterTemplate (FooterTemplateContext).

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
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.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.HeaderTemplateColumnBase.ColumnsCollectionComponentBase.OnInitializedAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)...

Constructors

C#
public TreeListColumn()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override void ThrowIfInvalidEditorType()

Overrides: BoundColumnBase.ThrowIfInvalidEditorType()

C#
protected override void ThrowIfInvalidFilterEditorType()

Overrides: BoundColumnBase.ThrowIfInvalidFilterEditorType()

Properties

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

C#
[Parameter]
public RenderFragment Columns { get; set; }

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.

C#
[Parameter]
public TreeListEditorType? EditorType { get; set; }

Specifies if the column should render an expand toggle.

C#
[Parameter]
public bool Expandable { get; set; }

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.

C#
[Parameter]
public TreeListFilterEditorType? FilterEditorType { get; set; }
C#
public RenderFragment<FooterTemplateContext> FooterTemplate { get; set; }

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

C#
[Parameter]
public Action<TreeListCellRenderEventArgs> OnCellRender { get; set; }