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

Definition

Constructors

C#
protected BoundColumnBase()

Methods

C#
protected FieldEditorType? GetParsedFieldEditorType(Enum editorType, bool isFilterField = false)
Parameters:editorTypeEnumisFilterFieldboolReturns:

FieldEditorType?

C#
protected override void OnParametersSet()

Overrides: ComponentBase.OnParametersSet()

C#
protected abstract void ThrowIfInvalidEditorType()
C#
protected abstract void ThrowIfInvalidFilterEditorType()

Properties

C#
[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.

C#
[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.

C#
[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.

C#
[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.

C#
[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.

C#
[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.

C#
[Parameter]
public Type FieldType { get; set; }

Whether the user can filter this column. When set to false, the filter cell will remain empty.

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

The template rendered in the cell when a filter row is used.

C#
[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}.

C#
[Parameter]
public string FilterEditorFormat { get; set; }

The buttons template rendered in the popup when a filter menu is used.

C#
[Parameter]
public RenderFragment<FilterMenuTemplateContext> FilterMenuButtonsTemplate { get; set; }

The form template rendered in the popup when a filter menu is used.

C#
[Parameter]
public RenderFragment<FilterMenuTemplateContext> FilterMenuTemplate { get; set; }

FilterMenuType

FilterMenuType?

Specifies the filter menu type.

C#
[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.

C#
[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.

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

Specifies if the column can be locked from the UI.

C#
[Parameter]
public bool Lockable { get; set; }
C#
protected Type PropertyType { get; }

Specifies if the column chooser is displayed in the column menu.

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

Specifies if a column menu should be shown for the column.

C#
[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.

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

Specifies whether the column can be sorted. Field is required.

C#
[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.

C#
[Parameter]
public RenderFragment<object> Template { get; set; }

Specifies the text alignemnt of the column, excluding the header cell.

C#
[Parameter]
public ColumnTextAlign? TextAlign { get; set; }

The string title rendered in the column header.

C#
[Parameter]
public override string Title { get; set; }

Overrides: ColumnBase.Title

Implements: IColumn.Title

Specifies if the column is visible in the column chooser.

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