GetEditModeActionControl

Typemessage
DictionaryDataGrid
LibraryData Grid
Syntax
on GetEditModeActionControl
Associationsdatagrid
Summary

Handle this message to specify a custom data grid action control.

Example
on GetEditModeActionControl
   return group "my custom action control"
end GetEditModeActionControl

on GetEditModeActionControl
   -- Hide for the data grid row number 5
   if the dgIndex of me is 5 then
      return empty
   end if
   pass GetEditModeActionControl
end GetEditModeActionControl
RelatedProperty: dgEditMode, edit mode action control, edit mode action select control, edit mode reorder control
Command: EditModeShowActionControlForIndex, EditModeHideActionControl
Message: EditModeActionSelectControlClicked, EditModeActionControlClicked, EditModeActionControlHidden, GetEditModeActionSelectControl, GetEditModeReorderControl
Description

GetEditModeActionControl is sent to your data grid's custom row template. Handle GetEditModeActionControl if you want to specify a custom action control. Return the id of the control you want to display. Returning empty will result in no control being displayed.

Handing this message will override the edit mode action control property.