Class
ColumnBase

Definition

Constructors

ColumnBase()

Declaration

cs-api-definition
protected ColumnBase()

Properties

ColumnsCollection

Declaration

cs-api-definition
public List<IColumn> ColumnsCollection { get; set; }

Property Value

List<IColumn>

HeaderClass

The CSS class that will be rendered on the column header cell.

Declaration

cs-api-definition
[Parameter]
public virtual string HeaderClass { get; set; }

Property Value

string

Implements IColumn.HeaderClass

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

cs-api-definition
[Parameter]
public RenderFragment HeaderTemplate { get; set; }

Property Value

RenderFragment

Id

Specifies the unique identifier of the column.

Declaration

cs-api-definition
[Parameter]
public string Id { get; set; }

Property Value

string

Implements IColumn.Id

Locked

Specifies whether the column is locked.

Declaration

cs-api-definition
[Parameter]
public bool Locked { get; set; }

Property Value

bool

Implements IColumn.Locked

MaxResizableWidth

The maximum resizable width of the column.

Declaration

cs-api-definition
[Parameter]
public decimal MaxResizableWidth { get; set; }

Property Value

decimal

Implements IColumn.MaxResizableWidth

MinResizableWidth

The minimum resizable width of the column.

Declaration

cs-api-definition
[Parameter]
public decimal MinResizableWidth { get; set; }

Property Value

decimal

Implements IColumn.MinResizableWidth

ParentColumn

Declaration

cs-api-definition
[CascadingParameter]
public IColumn ParentColumn { get; set; }

Property Value

IColumn

Reorderable

Specifies whether the column can be reordered.

Declaration

cs-api-definition
[Parameter]
public bool Reorderable { get; set; }

Property Value

bool

Implements IColumn.Reorderable

Resizable

Specifies whether the column can be resized.

Declaration

cs-api-definition
[Parameter]
public bool Resizable { get; set; }

Property Value

bool

Implements IColumn.Resizable

Title

The string title rendered in the column header.

Declaration

cs-api-definition
[Parameter]
public virtual string Title { get; set; }

Property Value

string

Implements IColumn.Title

Visible

Specifies whether the column is visible. If set to false, the column will be hidden from the grid.

Declaration

cs-api-definition
[Parameter]
public bool? Visible { get; set; }

Property Value

bool?

Implements IColumn.Visible

Width

The width of the column.

Declaration

cs-api-definition
[Parameter]
public virtual string Width { get; set; }

Property Value

string

Implements IColumn.Width

Methods

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

OnAfterRender(bool)

Declaration

cs-api-definition
protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides ComponentBase.OnAfterRender(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()

OnParametersSetAsync()

Declaration

cs-api-definition
protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()

SetParametersAsync(ParameterView)

Declaration

cs-api-definition
public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)