I try to invoke an additional data source for every row in a datagrid. I have a datagrid based on a DB table attachments and a DB view that relates tags to attachment IDs.
This is how far I got:a datalist of badges is showing in the column, but the list does not depend on the attachment id of each row: only the first file has a tag in the DB view.
If there is no relationship you can perform a database call to get additional data using row data item.
A) To do this you can use pure no-code style approach with a CustomComponent to perform the database call on load:
Create a page with no navigation that will server as component, perform database call on Load with the following filter and set the result to a property bound to heading Text:
Add additional column to the DataGrid, define CustomComponent in the column Template and use the page from previous step as source. CustomerID is set as attribute: