iOSTable.RowData

From Xojo Documentation

Method

iOSTable.RowData(section As Integer, row As Integer) As iOSTableCellData

Supported on Mobile(iOS).

Returns the cell data for the section and row.

Parameters

Parameter Description
section The section containing the row.
row The row to get the iOSTableCellData.

Notes

You can use this method to get at the cell data to change its contents. After changing the contents, call ReloadRow to display the new information.

Exceptions

Exception Description
OutOfBoundsException When the section and/or row does not exist.

Sample Code

Get all the cell data for the first row in the table and change its text:

Var cell As iOSTableCellData
cell = Table1.RowData(0, 0)
cell.Text = "Changed"
Table1.ReloadRow(0, 0)