cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Victor2
New Member

Table in a riche text editor

Hello,

 

I am trying to include a table by default in a rich text editor in powerapps.

I used HTML in the property Default of the rich text editor but it doesn't accept the caracter " so I cannot change the style of the table.

 

I tried tu use " instead of " but it didn't worked.

 

Thank you for your help

 

<table>
 <tr>
  <th style="border: 1px solid black;padding: 5px 20px 5px 20px;text-align: center;background-color: #E2DCDB;">Name</th>
  <th style="border: 1px solid black;padding: 5px 20px 5px 20px;text-align: center;background-color: #E2DCDB;">Favorite Color</th>
  <th style="border: 1px solid black;padding: 5px 20px 5px 20px;text-align: center;background-color: #E2DCDB;">Favorite Color</th>
 </tr>
 <tr>
  <td style="border: 1px solid black;padding: 5px 20px 5px 20px;text-align: center;">Bob</td>
  <td style="border: 1px solid black;padding: 5px 20px 5px 20px;text-align: center;">Yellow</td>
  <td style="border: 1px solid black;padding: 5px 20px 5px 20px;text-align: center;">YellowFavorite ColorFavorite ColorFavorite Color</td>
 </tr>
 <tr>
  <td style="border: 1px solid black;padding: 5px 20px 5px 20px;text-align: center;">Michelle</td>
  <td style="border: 1px solid black;padding: 5px 20px 5px 20px;text-align: center;">Purple</td>
  <td style="border: 1px solid black;padding: 5px 20px 5px 20px;text-align: center;">Yellow</td>
 </tr>
</table>

 

 

3 REPLIES 3
timl
Super User
Super User

Hi @Victor2 

Unfortunately, the controls in PowerApps provide limited HTML/CSS support, so it's possible that you won't be able to fully accomplish what you want to achieve. In cases where you want to use ", you can escape it by using "" instead.

Therefore, your formula would look like this:

image.png

Thank Timl,

 

i only succeed to show a table without border.

Maybe I will have to wait for an evolution of PowerApps

 

someone got any idea to get around this problem ?

PauloRech
Advocate IV
Advocate IV

It's insane why Micro$oft did't provide this funcionality in the Rich Text Editor Control.

Unbeliveable!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,955)