iOSMobileTable.ApplyRowEditingStyle

From Xojo Documentation

Revision as of 21:35, 3 November 2020 by Gperlman (talk | contribs)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Event


iOSMobileTable.ApplyRowEditingStyle(section As Integer, row As Integer) As RowEditingStyles

Supported on Mobile.

Allows the table to indicate what the editing style should be for a row.

Parameters

Parameter Description
section The section containing the row.
row The row for which you will specify the editing style.

Notes

This is invoked if all of the following are met:

  • The table is being edited (IsEditing = True).
  • The table is using a custom data source with iOSMobileTableDataSource.
  • The custom data source implements iOSMobileTableDataSourceEditing interface.
  • The custom data source returns True from RowIsEditable for the section and row.

If this event is not implemented, the default value is RowEditingStyles.Delete.