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
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,397)