Forum Discussion

ddidonato's avatar
ddidonato
Creator II
3 years ago
Solved

How do I get the relationship name from a HTML grid

Below is my code. I'm trying to get the name from the itemtype User where the created_by_id.   for (var j = 0; j < itms.getItemCount(); j++) { var itm = itms.getItemByIndex(j); var id = itm.g...
  • Gopikrishnan's avatar
    3 years ago

    I believe you are trying to get the keyed_name of the user. Try using below line

    itm.getPropertyAttribute("created_by_id", "keyed_name");