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 Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,307)