web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / displaying list conten...
Power Apps
Unanswered

displaying list content from gallery into Htmltext

(0) ShareShare
ReportReport
Posted on by 141

Hello everyone,
this is my screen named "R_MainMenu", the purpose of this screen is to display recommendation column from previous screen.

norashura_0-1694072151474.png

i use HtmlText to develop a table to store the content of the table, below is my code 

"<!DOCTYPE html>
<html>
<head>
<title>Checklist Interface</title>
<style>
table {
font-family: arial, sans-serif;
width: 100%;
}

th:nth-child(2),
td:nth-child(2) {
width: 3%;
}
th:nth-child(3),
td:nth-child(3) {
width: 3%;
}

th {
padding: 10px;
border: 1px solid #dddddd;
text-align: left;
font-weight: normal;
}

td {
padding: 5px;
border: 1px solid #dddddd;
text-align: left;
font-size: 12px;
}

input[type='checkbox'] {
transform: scale(0.7);
margin-left: 40%; /* Adjusted margin to center the checkbox */
}

p {
font-family: arial, sans-serif;
width: 100%;
padding: 2px;
}
</style>
</head>
<body>
<table border='1'>
<thead>
<tr>
<th style='padding: 10px; text-align: center;'>Recommendation</th>
<th style='width: 2%; padding: 2px;'>Completed</th>
<th style='padding: 2px;'>Remarks</th>
</tr>
</thead>
<tbody>
<tr>
<td><p>" & Gallery5.Selected.'Recommendation' & "</p></td>
<td><input type='checkbox'></td>
<td></td>
</tr>
<tr>
<td><p>" & Gallery5.Selected.'Recommendation' & "</p></td>
<td><input type='checkbox'></td>
<td></td>
</tr>
<tr>
<td><p>" & Gallery5.Selected.'Recommendation' & "</p></td>
<td><input type='checkbox'></td>
<td></td>
</tr>
</tbody>
</table>
</body>
</html>
"

my issue is that, i have no idea on how can i display all content from recommendation column from previous screen.

the flow is like this , user will click on the recommendation button (acted as column name) and will be redirected to next screen that will display the table.

norashura_1-1694072313029.png

norashura_0-1694072151474.png

Thank you ! 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard