API Reference
Class
ElementTableExtensions
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:
DataTablesTableCreates a DataTables table with the specified data and configures it using the provided action.
Parameters
- element HtmlForgeX.Element
- objects System.Collections.Generic.IEnumerable{System.Object}
- configure System.Action{HtmlForgeX.DataTablesTable}
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
- objects System.Object
- configure System.Action{HtmlForgeX.DataTablesTable}
public static DataTablesTable DataTable(Element element, Object objects) #Returns:
DataTablesTableCreates a DataTables table with default settings and returns it for further chaining.
Parameters
- element HtmlForgeX.Element
- objects System.Collections.Generic.IEnumerable{System.Object}
DataTable(HtmlForgeX.Element element, System.Object objects) #Creates a DataTables table with default settings and returns it for further chaining.
Parameters
- element HtmlForgeX.Element
- objects System.Object
Table 2 overloads
public static Table Table(Element element, Object objects, TableType tableType, Action<Table> configure) #Returns:
TableCreates a table with the specified data and configures it using the provided action.
Parameters
- element HtmlForgeX.Element
- The element to add the table to.
- objects System.Collections.Generic.IEnumerable{System.Object}
- The data objects to display in the table.
- tableType HtmlForgeX.TableType
- Table library type.
- configure System.Action{HtmlForgeX.Table}
- 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
- The element to add the table to.
- objects System.Object
- The data object to display in the table.
- tableType HtmlForgeX.TableType
- Table library type.
- configure System.Action{HtmlForgeX.Table}
- Action to configure the table.
Returns
The created and configured table element.