iOSMobileTableDataSourceEditing.AllowRowEditing

From Xojo Documentation

Method

iOSMobileTableDataSourceEditing.AllowRowEditing(table As iOSMobileTable, section As Integer, row As Integer) As Boolean

Supported on Mobile.

Asks the data source if the specified row can be edited. Most data sources that implement this interface will unconditionally return True.

Parameters

Parameter Description
table This is the table that uses this data source.
section This is the section containing the row.
row This is the row.

Notes

The specific type of edit that is allowed (None, Insert or Delete) is specified in the iOSMobileTable.RowEditingStyles event.

To allow row actions to work you must Return True from this method.

Sample Code

In most cases, you will return True for this method to allow the row to be edited: