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; Color or...
Power Apps
Answered

HTML - Table; Color or Hide Row based on field selection

(0) ShareShare
ReportReport
Posted on by 373

Radio1 button where a person can select "Confirm" or "Remove". I have an HTML text box to display those results so I can send in an email. What I need is to hide any rows where "Confirm" is selected OR Highlight the entire row a different color so it stands out.

leslie_rivera_0-1633632061262.png

 

Here is my HTML Code:

"<p> <table border=""1"">
<tr style=""background-color: #377DDF;color:white;font-size:14px"">
<th>Name</th>
<th>User ID</th>
<th>Role</th>
<th>Ticket</th>
<th>Action</th>
<th>Comments</th>

"
&

Concat(Gallery2.AllItems,
"<tr style=font-size:16px>
<td width=""10%"">"&'Alpha Name (ALPH)' & "</td>
<td width=""10%"">"&'User ID (USER)' & "</td>
<td width=""10%"">"&'XML User ID (FRROLE)' & "</td>
<td width=""10%"">"& 'Program ID (PID)' &"</td>
<td width=""10%"">"& Radio1.Selected.Value & "</td>
<td width=""10%"">"& TextInput1.Text & "</td>") & "</table>" & "</tr>"

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    Hi @leslie_rivera ,

    The easiest way would be

    Concat(
     Filter(
     Gallery2.AllItems,
     Action <> "Confirm"
     ),
     . . . . . .

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • leslie_rivera Profile Picture
    373 on at

    @WarrenBelzI tried to plug that in but getting errors

    leslie_rivera_0-1633639746865.png

     

  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    Hi @leslie_rivera ,

    I was simply using the field name you supplied - you need to filter on whatever this is called.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • leslie_rivera Profile Picture
    373 on at

    @WarrenBelzDuh.. lol .. read that too literately.  it worked with

    leslie_rivera_0-1633641785407.png

     

    Thank you!!

     

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard