RowLeftSwipeControlClicked

Typemessage
DictionaryDataGrid
LibraryData Grid
Syntax
on RowLeftSwipeControlClicked pTarget
Associationsdatagrid
Summary

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

Parameters
NameTypeDescription
pTarget

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

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

on RowLeftSwipeControlClicked 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 RowLeftSwipeControlClicked
RelatedProperty: enable swipe, left swipe control, right swipe control
Command: RowSwipeShowControlForIndexAndSide
Message: RowSwipeHideControl, RowSwipedRight, RowSwipedLeft, RowLeftSwipeControlClicked, RowRightSwipeControlClicked, RowLeftSwipeControlHidden, RowRightSwipeControlHidden, GetLeftSwipeControl, GetRightSwipeControl
Description

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

The default action is to delete the current row.