From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

Supported on Mobile.

Reloads the table data for the section and row.


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


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


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 SelectionChanged event handler, reload the cell row after changing its AccessoryType:

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