Using {{ data.variable }} in grid

I have a DataTable with image urls that I want to show in a datagrid. In the HTML element on a row I have the following content:
<img src="{{ data.weekTable[0].Image }}" />
This shows me the Image of the first row, but I want to show the Image of the current row in the grid.

How to access the data of the current row?

1 Like

Just found out that <img src="{{ row.Image }}" /> works \o/.

3 Likes

Hi ,

Can you please elaborate on the solution that worked for you. Am trying to do similar stuff . I want to display html element for file path in data grid column

Hi,

Please let me know how to use this for PDF files to be displayed in a grid.
I have the file paths in one of the columns of data table, I am passing this data table into the form designer activity.

Thanks