iOSMobileTableDataSourceEditing

From Xojo Documentation

Interface


A data source to use to enable editing of iOSTable data. When a table is put into "edit mode", the user can use the insertion and deletion editing controls to add or remove rows from the table and its data source. Aggregates iOSMobileTableDataSource.

Methods
AllowRowEditing RowData SectionCount
RowCount RowEditingCompleted SectionTitle

Notes

Any data source that supports deletion and insertion of rows or that uses row actions must implement this interface.

When the iOSMobileTable is made editable (by setting iOSMobileTable.IsEditing = True):

  • The data source's AllowRowEditing method is called for the visible rows and the editable rows get reordering controls.
  • The user taps on a row's delete or insert button.
  • The data source's RowEditingCompleted method is called so the data source can update its internal state.

See Also

iOSMobileTable control; iOSMobileTableDataSource, iOSMobileTableDataSourceReordering interfaces