BoundColumnBase
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
protected BoundColumnBase()
Methods
GetParsedFieldEditorType(Enum, bool)
FieldEditorType?
protected override void OnParametersSet()
Overrides:
protected abstract void ThrowIfInvalidEditorType()
protected abstract void ThrowIfInvalidFilterEditorType()
Properties
[Parameter]
public RenderFragment ChildContent { get; set; }
Specifies the default filter operator. If unassigned, the default operator will be set based on the data type. See FilterOperator.
[Parameter]
public FilterOperator? DefaultFilterOperator { get; set; }
The format that will be used to represent Numeric or DateTime values. If not set, the column will use the DisplayFormatAttribute of the Field.
[Parameter]
public string DisplayFormat { get; set; }
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.
[Parameter]
public bool Editable { get; set; }
The template rendered in the cell when the user is editing the row. You can render custom components and apply logic in it.
[Parameter]
public RenderFragment<object> EditorTemplate { get; set; }
The name of the field whose data the grid will display. The value is case sensitive. Using nameof() is recommended.
[Parameter]
public string Field { get; set; }
The type of the field values that the grid will display. Pass this parameter only if you are using dynamic data such as ExpandoObject or Dictionary.
[Parameter]
public Type FieldType { get; set; }
Whether the user can filter this column. When set to false, the filter cell will remain empty.
[Parameter]
public bool Filterable { get; set; }
The template rendered in the cell when a filter row is used.
[Parameter]
public RenderFragment<FilterCellTemplateContext> FilterCellTemplate { get; set; }
Specifies the format of the filter editor. Works for DateTime and numeric columns. Do not use a placeholder, for example, set D, not {0:D}.
[Parameter]
public string FilterEditorFormat { get; set; }
The buttons template rendered in the popup when a filter menu is used.
[Parameter]
public RenderFragment<FilterMenuTemplateContext> FilterMenuButtonsTemplate { get; set; }
The form template rendered in the popup when a filter menu is used.
[Parameter]
public RenderFragment<FilterMenuTemplateContext> FilterMenuTemplate { get; set; }
FilterMenuType
FilterMenuType?
Specifies the filter menu type.
[Parameter]
public FilterMenuType? FilterMenuType { get; set; }
Specifies the available filter operators. If not defined, a default list of available operators will be used based on the field type. See FilterListOperator.
[Parameter]
public List<FilterListOperator> FilterOperators { get; set; }
The template for the footer cell of this column. You can render custom components and apply logic in it.
[Parameter]
public RenderFragment<FooterTemplateContext> FooterTemplate { get; set; }
Specifies if the column can be locked from the UI.
[Parameter]
public bool Lockable { get; set; }
protected Type PropertyType { get; }
Specifies if the column chooser is displayed in the column menu.
[Parameter]
public bool ShowColumnChooser { get; set; }
Specifies if a column menu should be shown for the column.
[Parameter]
public bool ShowColumnMenu { get; set; }
Specifies whether the buttons within the filter cell are rendered or not. Default value is true. Applicable when FilterMode is set to FilterRow.
[Parameter]
public bool ShowFilterCellButtons { get; set; }
Specifies whether the column can be sorted. Field is required.
[Parameter]
public bool Sortable { get; set; }
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.
[Parameter]
public RenderFragment<object> Template { get; set; }
Specifies the text alignemnt of the column, excluding the header cell.
[Parameter]
public ColumnTextAlign? TextAlign { get; set; }
The string title rendered in the column header.
[Parameter]
public override string Title { get; set; }
Overrides:
Implements:
Specifies if the column is visible in the column chooser.
[Parameter]
public bool VisibleInColumnChooser { get; set; }