row.data() syntax with two tables

row.data() syntax with two tables

mmontoyammontoya Posts: 84Questions: 27Answers: 4

I have an editor defined which includes a join, so I need to reference ReferralID with the tablename Referrals.ReferralID. But what is the syntax when using row.data(). row.data().ReferralID returns Undefined. And row.data().Referrals.ReferralID gives me an error.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    I would expect it to be row.data().Referrals.ReferralID, but without being able to see the code it is impossible to say. Perhaps you can show me the JSON returned from the server.

    Allan

  • mmontoyammontoya Posts: 84Questions: 27Answers: 4

    how odd. I thought I had tried that an got an error like Referrals is not a procedure or something like that. But today when I go to get you the Json and error message it works. I must have done something wrong yesterday. So sorry.

This discussion has been closed.