iOSTable.ActionsForRow
From Xojo Documentation
Event
iOSTable.ActionsForRow(section As Integer, row As Integer) As iOSTableRowAction()
Supported on Mobile (iOS).
Supported on Mobile (iOS).
Use this event to specify the actions that can be performed for the given section/row.
Parameters
Parameter | Description |
---|---|
section | The section containing the row for which you want to specify actions. |
row | The row for which you want to specify actions. |
Notes
Returns an array of iOSTableRowActions that will be available for the section/row.
Multiple actions are supported. Add each action to the array that is returned from the event.
Row actions only work for tables that use iOSTableDataSourceEditing and where its RowIsEditable method returns True.
Sample Code
Adds two actions to every row in the table: