Data Grid Trouble displaying data from linked field

I’m attempting to view data from my Data Table that has a linked field populated by a drop down selection from an entry form. Data Tables can be seen below:

and

In the Data Grid properties for the column key I have tried using ‘assignment_subject’ which only results in <LiveObject: anvil.tables.Row>. I have also tried ‘self.item[‘assignment_subject’]’ which results in no data being returned for that column. I have also tried other variations of self.item and assignment_subject without any succes.

Thank you in advance!

1 Like

Hi @mrandrew and welcome to the forum.

Try the following:

  • In the data grid row template add a label to that particular cell
  • In the properties for the label you just added, add a data binding and bind the text property to
self.item['assignment_subject']['subjects']

related documentation

Anvil Docs | Data Grids

related gif

3 Likes

Worked like a Champ! Thank you very much!

1 Like