Skip to main content
Question

Trouble adding a custom Action to an MUI grid menu in 25R2

  • January 15, 2026
  • 0 replies
  • 5 views

Joe Schmucker
Captain II
Forum|alt.badge.img+3

This question was asked and answered before.  But the solution on that topic does not work in 25R2 for me.

PXAction created on Graph ext Show on Modern UI grid Header | Community

I'm trying to add a custom action to a grid on AP301000.  I am working on a local demo instance with no other customizations.

I am able to add my action, but when I do, all the other actions on the grid disappear.

I tried this

export interface AP301000_APTran_ICSAllocations_converted extends APTran { }

@gridConfig({

    preset: GridPreset.Details, autoGrowInHeight: GridAutoGrowMode.Fill, repaintColumns: true,

    topBarItems: {

        AddNew: { index: 0, config: { commandName: "AllocateLine", text: "Allocate Line" } }

    }

})

 

And this

export interface AP301000_APTran_ICSAllocations_converted extends APTran { }

@gridConfig({

    topBarItems: {

        AddNew: { index: 0, config: { commandName: "AllocateLine", text: "Allocate Line" } }

    }

})

Any assistance would be greatly appreciated.