Sub-Menus for Action

Hi All,

Today I want to share with you one cool way to organize your actions.

Sub-Menus for Action
organize actions in acumatica

Actually this is quite simple, you just need to add sub-actions as a menus text to the main action.

MainAction.MenuAutoOpen = true;
MainAction.AddMenuAction(SubAction);

Code Snippet:

If you want to have an action with sub-items on grid (like in my example) do not forget to hide actions on data source:

<CallbackCommands>
<px:PXDSCallbackCommand Name="MainAction" DependOnGrid="grid" Visible="False" />
</CallbackCommands>

Have a nice development!

1 Reply to “Sub-Menus for Action”

Leave a Reply

Your email address will not be published. Required fields are marked *