UITable
open class UITable
Handles an HTML table element.
-
The HTML table. I have nothing else to say.
Declaration
Swift
public let table: UIElement -
The header row for the HTML table.
Declaration
Swift
public var headerRow: UITableRowHeader? -
The rows of data cells for the table.
Declaration
Swift
public var rows: [UITableRow] -
Creats a table with rows of data cells and no header.
Declaration
Swift
public init(with data: [[String]])Parameters
dataA 2D array of strings that contains the data for the cells. Each sub-array is for a row of cells.
-
Creates a table with a header row and subsequent rows of data cells.
Declaration
Swift
public init(with headerTitles: [String], and rowsCellData: [[String]])Parameters
headerTitlesThe titles that will be in the header row’s cells.
rowsCellDataA 2D array of strings that contains the data for the data cells. Each sub-array is for a row of cells.
-
The table element that is contained in the
UITable.Declaration
Swift
public var topLevelElement: UIElement
UITable Class Reference