iOSMobileTableDataSource.RowData

From Xojo Documentation

Revision as of 15:42, 17 November 2020 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

iOSMobileTableDataSource.RowData(table As iOSMobileTable, section As Integer, row As Integer) As MobileTableCellData

Supported on Mobile.

The actual cell data for the section and row.

Parameters

Parameter Description
table The iOSMobileTable 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 MobileTableCellData 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