iOSMobileTable.DataSource

From Xojo Documentation

Revision as of 02:25, 4 November 2020 by Gperlman (talk | contribs)
(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!

aiOSMobileTable.DataSource = newiOSMobileTableDataSourceValue
or
iOSMobileTableDataSourceValue = aiOSMobileTable.DataSource

Supported on Mobile.

The data to display in the table.

Notes

For data sets that are large, a data source allows you to efficiently provide rows without the memory cost of having an MobileTableCellData in memory at all times for every single one of them.

DataSource is a weak reference so you need to make sure your data source instance does not go out of scope. The easiest way to ensure this is to make it a property of your MobileScreen.