iOSTableDataSource.RowData

From Xojo Documentation

Method

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

Supported on Mobile(iOS).

The actual cell data for the section and row.

Parameters

Parameter Description
table The iOSTable instance using this data source.
section This is the section that has been requested.
row This is the row within the section that has been requested.

Notes

You will need to create an iOSTableCellData instance and populate it with the values from your data source to return it from this method.

Sample Code

Refer to the data source example in the User Guide to see how to set up a Data Source that returns names, with sections for the first letter of each last name.

You can also refer to the sample project included with Xojo:

  • Examples/iOS/Controls/Table/TableDataSource