Context datagrid property

4
I have 2 datagrids which are connected by a association. Contact 1 - 0 Address I want to show all contacts in a grid. Under this grid in my form, I want to show all addresses associated with the selected contact. Which context property is used here? Listen or shared?
asked
2 answers
5

Set the context property of the DataGrid for Contact to shared.

Set the context property of the DataGrid for Address to listen.

However, shared context only works if the association is Contact 0 - 1 Address.

So, more general, the object in the DataGrid with the context property on listen should have a 1-0 relation with the object in the Datagrid with the context property on shared.

answered
2

Contact = shared

Address = listen

answered