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.