How can I convert expression?

data: local!noteData,
      columns: {
        a!forEach(
          items: local!fields,
          expression: a!gridColumn(
            label: fv!item,
            value: index(fv!row, fv!item, "")
          )
        )
      },

How do I convert the above code, this part:

expression: a!gridColumn(
label: fv!item,
value: index(fv!row, fv!item, "")
)


To something like:

a!gridColumn(
label: "Note",
value: index(fv!row, "Note", "")
),

a!gridColumn(
label: "Name",
value: index(fv!row, Name, "")
)

Where both Note and Name are keys in a dictionary.

Thanks

  Discussion posts and replies are publicly visible