HtmlForgeX

API Reference

Class

ElementTableExtensions

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers static

Extension methods for Element class to provide enhanced table functionality

Inheritance

  • Object
  • ElementTableExtensions

Methods

DataTable 4 overloads
public static DataTablesTable DataTable(Element element, Object objects, Action<DataTablesTable> configure) #
Returns: DataTablesTable

Creates a DataTables table with the specified data and configures it using the provided action.

Parameters

element HtmlForgeX.Element requiredposition: 0
objects System.Collections.Generic.IEnumerable{System.Object} requiredposition: 1
configure System.Action{HtmlForgeX.DataTablesTable} requiredposition: 2
DataTable(HtmlForgeX.Element element, System.Object objects, System.Action{HtmlForgeX.DataTablesTable} configure) #

Creates a DataTables table with the specified data and configures it using the provided action.

Parameters

element HtmlForgeX.Element required
objects System.Object required
configure System.Action{HtmlForgeX.DataTablesTable} required
public static DataTablesTable DataTable(Element element, Object objects) #
Returns: DataTablesTable

Creates a DataTables table with default settings and returns it for further chaining.

Parameters

element HtmlForgeX.Element requiredposition: 0
objects System.Collections.Generic.IEnumerable{System.Object} requiredposition: 1
DataTable(HtmlForgeX.Element element, System.Object objects) #

Creates a DataTables table with default settings and returns it for further chaining.

Parameters

element HtmlForgeX.Element required
objects System.Object required
Table 2 overloads
public static Table Table(Element element, Object objects, TableType tableType, Action<Table> configure) #
Returns: Table

Creates a table with the specified data and configures it using the provided action.

Parameters

element HtmlForgeX.Element requiredposition: 0
The element to add the table to.
objects System.Collections.Generic.IEnumerable{System.Object} requiredposition: 1
The data objects to display in the table.
tableType HtmlForgeX.TableType requiredposition: 2
Table library type.
configure System.Action{HtmlForgeX.Table} requiredposition: 3
Action to configure the table.

Returns

The created and configured table element.

Table(HtmlForgeX.Element element, System.Object objects, HtmlForgeX.TableType tableType, System.Action{HtmlForgeX.Table} configure) #

Creates a table with the specified data and configures it using the provided action.

Parameters

element HtmlForgeX.Element required
The element to add the table to.
objects System.Object required
The data object to display in the table.
tableType HtmlForgeX.TableType required
Table library type.
configure System.Action{HtmlForgeX.Table} required
Action to configure the table.

Returns

The created and configured table element.