Table of Contents

Class BOBDataColumn<TItem>

Namespace
BlazOrbit.Components
Assembly
BlazOrbit.dll
public class BOBDataColumn<TItem> : ComponentBase

Type Parameters

TItem
Inheritance
object
ComponentBase
BOBDataColumn<TItem>

Constructors

BOBDataColumn()

public BOBDataColumn()

Properties

Align

Align.

[Parameter]
public ColumnAlign Align { get; set; }

Property Value

ColumnAlign

CellClass

CSS class applied to the Cell.

[Parameter]
public string? CellClass { get; set; }

Property Value

string

CustomComparer

Custom sort comparer for the column. Replaces default value comparison when Sortable is on.

[Parameter]
public Func<TItem, TItem, int>? CustomComparer { get; set; }

Property Value

Func<TItem, TItem, int>

CustomFilter

Custom filter predicate. Replaces default substring matching when Filterable is on.

[Parameter]
public Func<TItem, string, bool>? CustomFilter { get; set; }

Property Value

Func<TItem, string, bool>

Filterable

Filterable.

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

Property Value

bool

Format

Format.

[Parameter]
public string? Format { get; set; }

Property Value

string

Header

Header.

[Parameter]
public string? Header { get; set; }

Property Value

string

HeaderClass

CSS class applied to the Header.

[Parameter]
public string? HeaderClass { get; set; }

Property Value

string

HeaderTemplate

Custom template for rendering the Header.

[Parameter]
public RenderFragment? HeaderTemplate { get; set; }

Property Value

RenderFragment

Property

Expression that selects the column's bound property. Used to derive header text, sorting, and filtering.

[Parameter]
public Expression<Func<TItem, object?>>? Property { get; set; }

Property Value

Expression<Func<TItem, object>>

Sortable

Sortable.

[Parameter]
public bool Sortable { get; set; }

Property Value

bool

Template

Custom template for rendering the .

[Parameter]
public RenderFragment<TItem>? Template { get; set; }

Property Value

RenderFragment<TItem>

Visible

Visible.

[Parameter]
public bool Visible { get; set; }

Property Value

bool

Width

Width.

[Parameter]
public string? Width { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

OnParametersSet()

Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

protected override void OnParametersSet()