UITable
Renders a table.
Tables present data in a structured manner. A table contains rows which in turn contains cells.
Properties
Section titled “Properties”showSeparators
Section titled “showSeparators”Whether to show separators.
showSeparators: boolWhether to show separators between rows. Defaults to false.
Methods
Section titled “Methods”
new UITable()
Section titled “new UITable()”Constructs a table.
new UITable()Use a table to present data in a structured manner.
addRow(row)
Section titled “addRow(row)”Adds a row.
addRow(row: UITableRow)Adds a row to the table. Rows are shown vertically in the table view, i.e. from the top and down. Rows are rendered in the order they are added.
Parameters
Section titled “Parameters”row UITableRow
Row to add.
present(fullscreen)
Section titled “present(fullscreen)”Presents the table.
present(fullscreen: bool): PromiseParameters
Section titled “Parameters”fullscreen bool
Optional. Set to true to present the web view in fullscreen. This only has an effect when used within the app. Defaults to false.
Return value
Section titled “Return value”Promise
Promise that is fulfilled when the table is dismissed.
reload()
Section titled “reload()”Reloads the table.
reload()If you add or remove rows while a table view is presented, you must reload the table in order for the changes to take effect.
removeAllRows()
Section titled “removeAllRows()”Removes all rows.
removeAllRows()Removes all rows from the table. If the table is presented, you must call the reload function in order for the changes to be reflected visually.
removeRow(row)
Section titled “removeRow(row)”Removes a row.
removeRow(row: UITableRow)Removes a row from the table.
Parameters
Section titled “Parameters”row UITableRow
Row to remove.