Hi,
Please try below.
Edit Datagrid2 → Edit Column → Show: Dynamic Text → Set Dynamic Text to getCaption($currentObject/yourparameter) using Caption and Parameters.
Hope it helps!
Dear Karthik R
Thank you very much for your prompt help.
Now I copy the record from created data grid 2 list to a history list, using creating object function as below
for the VisitPurpose attribute, I had used the getCaption function, however I still got the attribute name not caption(see blow picture in the last column)
Why? Where I made the mistake?
Thanks.
Best regards
Li Dong