From Xojo Documentation

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

iOSMobileTableDataSourceReordering.RowMoved(table As iOSMobileTable, sourceSection As Integer, sourceRow As Integer, destSection As Integer, destRow As Integer)

Supported on Mobile.

Informs the data source that a row has been moved and that it needs to update its internal state to match this new order.


Parameter Description
table This is the table that uses this data source.
sourceSection The original section for the row.
sourceRow The original row.
destSection The destination section for the row.
destRow The destination row.

Sample Code

// Remove row from its original location
Var origValue As String = Data(sourceRow)

// Add it to its new location
Data.AddRowAt(destRow, origValue)