Skip to main content
Solved

Link not opening in grid (Modern UI)

  • April 22, 2026
  • 2 replies
  • 41 views

Forum|alt.badge.img+1

I’m experiencing an issue in Modern UI where a link in a grid column is not opening target screen when clicking on the field.

Here is the TS:

@columnConfig({
editorConfig: {
linkCommand: "ViewBills"
},
width: 70,
})
BillID: PXFieldState<PXFieldOptions.CommitChanges>;

When I click on the BillID field, nothing happens. I also tried adding allowEdit: true, but it did not resolve the issue. 

What’s confusing is that in another screen I have a very similar configuration, and it works correctly the link opens as expected:

@columnConfig({
editorConfig: {
linkCommand: "ViewInvoice"
},
width: 90
})
InvoiceId: PXFieldState;

 

Best answer by arpine08

Hi ​@Marat43,

Please try this syntax::

@linkCommand("ViewBills")
@columnConfig({ width: 70})
BillID: PXFieldState<PXFieldOptions.CommitChanges>;

 

2 replies

arpine08
Jr Varsity I
Forum|alt.badge.img+1
  • Jr Varsity I
  • Answer
  • April 22, 2026

Hi ​@Marat43,

Please try this syntax::

@linkCommand("ViewBills")
@columnConfig({ width: 70})
BillID: PXFieldState<PXFieldOptions.CommitChanges>;

 


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

Have you tried something like this?

@linkCommand<YourScreenID>("ViewBills")
BillID: PXFieldState<PXFieldOptions.CommitChanges>;

Also, is your PXAction in the correct case (eg ViewBills / viewBills) and does your screen TS define it?