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 / HTML Table in Power Apps
Power Apps
Answered

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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard