iOSMobileTable.ReloadRow

From Xojo Documentation

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

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

Supported on Mobile.

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 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)