iOSTable.ReloadRow

From Xojo Documentation

Method

iOSTable.ReloadRow(section As Integer, row As Integer)

Supported on Mobile (iOS).

Reloads the table data for the section and row.

Parameters

Parameter Description
section The section containing the row to reload.
row The row to reload.

Exceptions

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

Notes

Use this method to reload a single cell row after changes have been made to its data (either from a DataSource or by changing the RowData).

Sample Code

In the Action event handler, reload the cell row after changing its AccessoryType:

Var cell As iOSTableCellData = Me.RowData(section, row)
cell.AccessoryType = iOSTableCellData.AccessoryTypes.Checkmark
Me.ReloadRow(section, row)