GetEditModeActionSelectControl

Typemessage
DictionaryDataGrid
LibraryData Grid
Syntax
on GetEditModeActionSelectControl
Associationsdatagrid
Summary

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

Example
on GetEditModeActionSelectControl
   return group "my custom action select control"
end GetEditModeActionSelectControl

on GetEditModeActionSelectControl
   -- Hide for the data grid row number 5
   if the dgIndex of me is 5 then
      return empty
   end if
   pass GetEditModeActionSelectControl
end GetEditModeActionSelectControl

on GetEditModeActionSelectControl
   -- Turn action select off
   return empty
end GetEditModeActionSelectControl
RelatedProperty: dgEditMode, edit mode action control, edit mode action select control, edit mode reorder control
Command: EditModeShowActionControlForIndex, EditModeHideActionControl
Message: EditModeActionSelectControlClicked, EditModeActionControlClicked, EditModeActionControlHidden, GetEditModeActionControl, GetEditModeReorderControl
Description

GetEditModeActionSelectControl is sent to your data grid's custom row template. Handle GetEditModeActionSelectControl if you want to specify a custom action select 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 select control property.