HtmlForgeX

API Reference

Class

TablerDataTableCard

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Reusable card shell for DataTables-backed review surfaces such as inventories, queues, and sample logs.

Inheritance

Constructors

Methods

public TablerDataTableCard Accent(TablerColor color) #
Returns: TablerDataTableCard

Sets the ambient accent color used by the table card.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
Bind 2 overloads
public TablerDataTableCard Bind(IEnumerable<Object> data, Action<DataTablesTable> configure = null) #
Returns: TablerDataTableCard

Binds a single object or collection to the card's DataTable surface.

Parameters

data System.Object requiredposition: 0
configure System.Action{HtmlForgeX.DataTablesTable} = null optionalposition: 1
Bind(System.Collections.Generic.IEnumerable{System.Object} data, System.Action{HtmlForgeX.DataTablesTable} configure) #

Binds a collection to the card's DataTable surface.

Parameters

data System.Collections.Generic.IEnumerable{System.Object} required
configure System.Action{HtmlForgeX.DataTablesTable} required
GetAuxiliaryChildren() #
OnAddedToDocument() #
RegisterLibraries() #
public TablerDataTableCard Settings(Action<TablerDataTableCardSettings> configure) #
Returns: TablerDataTableCard

Groups advanced display options under a smaller fluent surface.

Parameters

configure System.Action{HtmlForgeX.TablerDataTableCardSettings} requiredposition: 0
public TablerDataTableCard Subtitle(String subtitle) #
Returns: TablerDataTableCard

Sets supporting text displayed below the card title.

Parameters

subtitle System.String requiredposition: 0
public TablerDataTableCard Title(String title) #
Returns: TablerDataTableCard

Sets the card title.

Parameters

title System.String requiredposition: 0
public override String ToString() #
Returns: String