ClassBoundColumnBase
Definition
Namespace:Telerik.Blazor.Components.Common
Assembly:Telerik.Blazor.dll
Syntax:
public abstract class BoundColumnBase : ColumnBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IColumn
Inheritance: objectComponentBaseColumnBaseBoundColumnBase
Derived Classes:
Implements:
Inherited Members
Constructors
BoundColumnBase()
Declaration
protected BoundColumnBase()
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
DefaultFilterOperator
Specifies the default filter operator. If unassigned, the default operator will be set based on the data type. See FilterOperator.
Declaration
[Parameter]
public FilterOperator? DefaultFilterOperator { get; set; }
Property Value
DisplayFormat
The format that will be used to represent Numeric or DateTime values.
Declaration
[Parameter]
public string DisplayFormat { get; set; }
Property Value
Editable
Whether the field can be edited by the user. If set to false, an editor will not be rendered for this column when the user edits an existing record.
EditorTemplate
The template rendered in the cell when the user is editing the row. You can render custom components and apply logic in it.
Declaration
[Parameter]
public RenderFragment<object> EditorTemplate { get; set; }
Property Value
Field
The name of the field whose data the grid will display. You can use the nameof operator.
FieldType
The type of the field whose data the grid will display. You need to pass this parameter only if you are using ExpandoObject or Dictionary.
FilterCellTemplate
The template rendered in the cell when a filter row is used.
Declaration
[Parameter]
public RenderFragment<FilterCellTemplateContext> FilterCellTemplate { get; set; }
Property Value
FilterEditorFormat
Specifies the format of the filter editor.
Declaration
[Parameter]
public string FilterEditorFormat { get; set; }
Property Value
FilterMenuButtonsTemplate
The buttons template rendered in the popup when a filter menu is used.
Declaration
[Parameter]
public RenderFragment<FilterMenuTemplateContext> FilterMenuButtonsTemplate { get; set; }
Property Value
FilterMenuTemplate
The form template rendered in the popup when a filter menu is used.
Declaration
[Parameter]
public RenderFragment<FilterMenuTemplateContext> FilterMenuTemplate { get; set; }
Property Value
FilterMenuType
Specifies the filter menu type.
Declaration
[Parameter]
public FilterMenuType? FilterMenuType { get; set; }
Property Value
FilterMenuType?
FilterOperators
Specifies the available filter operators. If not defined, a default list of available operators will be used based on the field type. See FilterListOperator.
Declaration
[Parameter]
public List<FilterListOperator> FilterOperators { get; set; }
Property Value
Filterable
Whether the user can filter this column. When set to false, the filter cell will remain empty.
FooterTemplate
The template for the footer cell of this column. You can render custom components and apply logic in it.
Declaration
[Parameter]
public RenderFragment<FooterTemplateContext> FooterTemplate { get; set; }
Property Value
HeaderTemplate
The template for the header cell of this column. When the template is used, the Title text is not rendered by default. You can render custom components and apply logic in it.
Declaration
[Parameter]
public RenderFragment HeaderTemplate { get; set; }
Property Value
Lockable
Specifies if the column can be locked from the UI.
ShowColumnChooser
Specifies if the column chooser is displayed in the column menu.
Declaration
[Parameter]
public bool ShowColumnChooser { get; set; }
Property Value
ShowColumnMenu
Specifies if a column menu should be shown for the column.
Declaration
[Parameter]
public bool ShowColumnMenu { get; set; }
Property Value
ShowFilterCellButtons
Specifies whether the buttons within the filter cell are rendered or not. Default value is true. Applicable when FilterMode is set to FilterRow.
Declaration
[Parameter]
public bool ShowFilterCellButtons { get; set; }
Property Value
Sortable
Specifies whether the column can be sorted. Field is required.
Template
The template for the cells of this column. Used when the row is in read mode. You can render custom components and apply logic in it.
Declaration
[Parameter]
public RenderFragment<object> Template { get; set; }
Property Value
TextAlign
Specifies the text alignemnt of the column.
Declaration
[Parameter]
public ColumnTextAlign? TextAlign { get; set; }
Property Value
Title
The string title rendered in the column header.
Declaration
[Parameter]
public override string Title { get; set; }
Property Value
Overrides
Implements
VisibleInColumnChooser
Specifies if the column is visible in the column chooser.
Declaration
[Parameter]
public bool VisibleInColumnChooser { get; set; }
Property Value
Methods
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides
ThrowIfInvalidEditorType()
Declaration
protected abstract void ThrowIfInvalidEditorType()
ThrowIfInvalidFilterEditorType()
Declaration
protected abstract void ThrowIfInvalidFilterEditorType()