TreeListColumn
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
public TreeListColumn()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void ThrowIfInvalidEditorType()
Overrides:
protected override void ThrowIfInvalidFilterEditorType()
Overrides:
Properties
The list of child columns to produce multi-column headers. Children: TreeListColumn.
[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.
[Parameter]
public TreeListEditorType? EditorType { get; set; }
Specifies if the column should render an expand toggle.
[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.
[Parameter]
public TreeListFilterEditorType? FilterEditorType { get; set; }
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.
[Parameter]
public Action<TreeListCellRenderEventArgs> OnCellRender { get; set; }