Edit a Column Value in Read Only Grid with Related Action

We are on 20.3 version, have a requirement to edit a column's value in read-only grid.

We have work around for this, but would like to explore this approach as well:

Therefore, tried following:

a!gridTextColumn(
label:"Name",
value:
a!recordActionField(
actions: {
a!recordActionItem(
action:recordType!<recordName>.actions.<relatedActionToUpdateName>,
identifier:<fv!row.id>
)
}
)

I would like to show existing row value along with an related action in the single grid column.

For eg:

  Discussion posts and replies are publicly visible

Parents Reply
  • Thanks for your reply.

    We are using new gridField() with gridColumn, apologies for the typing error.

    a!gridColumn(
    label:"Name",
    value:
    a!recordActionField(
    actions: {
    a!recordActionItem(
    action:recordType!<recordName>.actions.<relatedActionToUpdateName>,
    identifier:<fv!row.id>
    )
    }
    )

    Trying above snippet, renders only related action name in the grid column and we can successfully execute it.

    But we are looking for something to show existing column's value, alongwith an edit action to update it.

Children