Relation between two tabels


I have two component, tree and table in screen. How to do, that when I select item in tree then tabel was refresh and show result for the selected record?

Name column between datasource
tree (id)
tabel (itemid)

screen from my appliaction in attachment.


Hi Joanna,

You can do it even declaratively using ds$ query parameters: see

Alternatively, use custom$ parameter (see the same section) in the table datasource, add an ItemChangeListener to the tree datasource and refresh the table datasource in the listener with the refresh(Map<String, Object> parameters) method.

1 Like

super., it worked!

thank you