I'm using a HTML Element to display a table of data that's retrieved from a Sharepoint List.
The HTML table is currently templated for 5 rows of data.
But sometimes only 1 or 2 rows are needed so I'd like to skip blank rows if the first data check is blank.
My HTML row looks like this:
<tr>
<td style='width: 93px;'>" & sideGal.Selected.'Name 02:' & "</td>
<td style='width: 120px;'>" & sideGal.Selected.'ID 02:' & "</td>
</tr>
I assume I need something like:
// This is row 2 inside of already existing HTML so use an ampersand/& to interrupt
& If(!IsBlank(sideGal.Selected.'Name 02:'), [TABLE ROW CODE HERE]) & /* back to HTML */
But I'm struggling to combine the Power App code with the HTML.
Can anyone assist, please?