RowRightSwipeControlClicked

Typemessage
DictionaryDataGrid
LibraryData Grid
Syntax
on RowRightSwipeControlClicked pTarget
Associationsdatagrid
Summary

Sent when the right hand side data grid swipe control is clicked.

Parameters
NameTypeDescription
pTarget

The target of the click. Use this to determine where in the action control the user clicked.

Example
on RowRightSwipeControlClicked
   dispatch "DeleteIndex" to group "DataGrid" with the dgIndex of me
end RowRightSwipeControlClicked

on RowRightSwipeControlClicked pTarget
   switch the name of the target
      case "show"
         dispatch "DeleteIndex" to group "DataGrid" with the dgIndex of me
         break
      case "archive"
         dispatch "RowSwipeHideControl" to group "DataGrid"
         break
   end switch
end RowRightSwipeControlClicked
RelatedProperty: enable swipe, left swipe control, right swipe control
Command: RowSwipeShowControlForIndexAndSide
Message: RowSwipeHideControl, RowSwipedRight, RowSwipedLeft, RowLeftSwipeControlClicked, RowLeftSwipeControlClicked, RowLeftSwipeControlHidden, RowRightSwipeControlHidden, GetLeftSwipeControl, GetRightSwipeControl
Description

RowRightSwipeControlClicked is sent to your data grid's custom row template when the user clicks on the right hand side swipe control. Handle RowRightSwipeControlClicked if you want to perform a custom action on click.

The default action is to delete the current row.