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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / HTML Table in Power Apps
Power Apps
Unanswered

HTML Table in Power Apps

(0) ShareShare
ReportReport
Posted on by 25

Hi, I'm making an App where a new Employee gets throught the Onboarding process and I want the Values of the Sharepoint List in a HTML table it works except for the values that are a dropdown in the sharepoint list for example if they have an car or not. 

 

Here is my code(DataCardValue2 is the dropdown that doesn't work):

thanks for the help already.

 

"<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" &
"<tr style='background-color:#efefef'>
<th>Onboarding-Status</th> <th> Price </th> <th> ID </th>
</tr>
<tr>" &
Concat(RB_Personal_Onboarding;//*Here is your data source*//
"<td>" & DataCardValue2 & " </td>
<td>" & Title & " </td>
<td>" & ID & " </td>";"</tr><tr>") &
"</table>"

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @jakobrieder,

    Do you want to display a dropdown value in HTML table?

    Could you please tell me that if the DataCardValue2 is a Combo Box in your app?

     

    If you want to display data from your app in the html table, you should format it with the folowing format

    Here is my test result:

    vqiaqimsft_0-1667186814944.png

    "<strong> Information: </strong>" & "<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" & "<tr style='background-color:#efefef'> <th>Title</th> <th> Name </th><th> Score </th> </tr>" & "<tr> <td>" & "Title1" & " </td> <td>" & ComboBox1.Selected.Value & " </td> <td>" & ComboBox1.Selected.Id & " </td> </tr>" & "</table>"

     

    The Concat() function is used to display data from a gallery or a datatable because you should concat the table value into text.

     

  • jakobrieder Profile Picture
    25 on at

    Thanks for the help

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard