HtmlForgeX

API Reference

Class

BootstrapTable

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Table

Renders an HTML table styled using Bootstrap classes. Provides convenience properties for applying Bootstrap table utilities.

Inheritance

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

BootstrapTable 2 overloads
public BootstrapTable() #

Initializes a new instance of the BootstrapTable class.

public BootstrapTable(IEnumerable<Object> objects, TableType library) #

Initializes a new instance of the BootstrapTable class with data.

Parameters

objects System.Collections.Generic.IEnumerable{System.Object} requiredposition: 0
Objects to render.
library HtmlForgeX.TableType requiredposition: 1
Table type library.

Methods

public override String BuildTable() #
Returns: String

Builds the HTML table markup.

Returns

The generated HTML.

public BootstrapTable Style(BootStrapTableStyle style) #
Returns: BootstrapTable

Adds a style to the table.

Parameters

style HtmlForgeX.BootStrapTableStyle requiredposition: 0
Style to apply.

Returns

The current BootstrapTable instance.

Properties

public List<BootStrapTableStyle> StyleList { get; set; } #

Gets the collection of styles applied to the table.

Fields

public String Id #

Gets the unique identifier of the table element.