ClassTreeListColumn
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:
public class TreeListColumn : BoundColumnBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IColumn, ITreeListColumnMenuColumn, ITableColumnMenuColumn
Inheritance: objectComponentBaseColumnBaseBoundColumnBaseTreeListColumn
Implements:
Inherited Members
Constructors
TreeListColumn()
Declaration
public TreeListColumn()
Properties
Columns
The list of child columns to produce multi-column headers. Children: TreeListColumn.
Declaration
[Parameter]
public RenderFragment Columns { get; set; }
Property Value
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
[Parameter]
public TreeListEditorType? EditorType { get; set; }
Property Value
Expandable
Specifies if the column should render an expand toggle.
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
[Parameter]
public TreeListFilterEditorType? FilterEditorType { get; set; }
Property Value
FooterTemplate
Declaration
public RenderFragment<FooterTemplateContext> FooterTemplate { get; set; }
Property Value
OnCellRender
Called each time a cell is rendered. Use this to add custom classes to the cell based on its value.
Declaration
[Parameter]
public Action<TreeListCellRenderEventArgs> OnCellRender { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
ThrowIfInvalidEditorType()
Declaration
protected override void ThrowIfInvalidEditorType()
Overrides
ThrowIfInvalidFilterEditorType()
Declaration
protected override void ThrowIfInvalidFilterEditorType()
Overrides