Class DataTableBuilder
Hierarchy
- DataTableBuilder
Index
Methods
Methods
addColumnHeader
- add
Column (column): voidHeader -
Adds a single column header to the DataTable.
Parameters
-
column: ColumnHeader
The column header to add to the DataTable.
Returns void
-
addColumnHeaders
- add
Column (colHeaders): voidHeaders -
Adds multiple column headers to the DataTable.
Parameters
-
colHeaders: ColumnHeader[]
The array of column headers to add to the DataTable.
Returns void
-
addRow
- add
Row (row): void -
Adds a single row to the DataTable.
Parameters
-
row: DataRow
The row to add to the DataTable.
Returns void
-
addRows
- add
Rows (rows): void -
Adds multiple rows to the DataTable.
Parameters
-
rows: DataRow[]
The array of rows to add to the DataTable.
Returns void
-
Generated using TypeDoc
A builder class for constructing and modifying a DataTable instance within a DataContainer.
This class provides methods to add row/s and add column header/s to a DataTable.
Example