iOSMobileTable.RowCellData

From Xojo Documentation

Revision as of 01:19, 2 February 2022 by Gperlman (talk | contribs) (Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

iOSMobileTable.RowCellData(section As Integer = 0, row As Integer) As MobileTableCellData

Supported on Mobile.

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.

fa-exclamation-circle-32.png
If the section and/or row does not exist, an OutOfBoundsException will be raised.

Sample Code

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

Var cell As MobileTableCellData
cell = Table1.RowCellData(0, 0)
cell.Text = "Changed"
Table1.ReloadRow(0, 0)