iOSTable.RowAction

From Xojo Documentation

Revision as of 12:58, 23 August 2018 by PLefebvre (talk | contribs) (Created page with "{{EventBox | name=RowAction | owner=iOSTable | parameters=section As Integer, row As Integer, actionTag As Auto | ownertype=class | project=Mobile | target=iOS...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Event


iOSTable.RowAction(section As Integer, row As Integer, actionTag As Auto)

Supported on Mobile (iOS).

A row action has been selected by the user.

Parameters

Parameter Description
section The section containing the row where the action was used.
row The row where the action was used.
actionTag The tag (specified when the iOSTableRowAction was created) that you can use to identify the action that was used.

Notes

Use the actionTag parameter to identify the action that was used.

Row actions only work for tables that use iOSTableDataSourceEditing and where its RowIsEditable method returns True.

Sample Code

Check the actionTag parameter:

Select actionTag
Case "More"
// ... show more info
Case "Delete"
// ... delete something
End Select