Skip to main content
Answer

Why does a custom grid action display with no text in the context menu?

  • May 4, 2023
  • 4 replies
  • 94 views

darylbowman
Captain II
Forum|alt.badge.img+15

I created a custom action called ‘Update Lot Nbr/Expiration on a grid:

 

Why does the context menu item have no text?

Best answer by darylbowman

In this case, it was because on POOrderEntry, I created the action for the POLine grid, but the Action definition still needs to be made using POOrder.

 

So 

public PXAction<POOrder> ActionForPOLineGrid;

4 replies

Forum|alt.badge.img+7
  • Captain II
  • May 4, 2023

I’m guessing that you may have found this:

https://www.acumatica.com/blog/adding-actions/

Does your XML in the page have the correct Text value?

<px:PXToolBarButton Text=”Insert Row” ImageSet=”main” ImageKey=”AddNew” DependOnGrid=”grid”>


darylbowman
Captain II
Forum|alt.badge.img+15

I combed through that extensively, yes.


darylbowman
Captain II
Forum|alt.badge.img+15
  • Author
  • Answer
  • May 20, 2023

In this case, it was because on POOrderEntry, I created the action for the POLine grid, but the Action definition still needs to be made using POOrder.

 

So 

public PXAction<POOrder> ActionForPOLineGrid;


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • May 20, 2023

Thank you for sharing your solution with the community @darylbowman !