HTML tags

Tendo05_0-1749011031743.png

I'm trying to draw  a table like the above in appsheet virtual column with type show and text but unfortunately the html tags like <table>,<td>,<tr> etc are not interpreted as HTML and are appearing as texts in my view/ form. Kindly guide me on how I can draw such a table. Thanks

Solved Solved
0 5 166
  • UX
1 ACCEPTED SOLUTION

As far as i know you can't use specific table / cell variables eg. style='padding: 8px; border: 1px solid #ddd

Unless they changed something within the last few weeks.

Refer to "rich-text" forum post for allowed tags

View solution in original post

5 REPLIES 5

Hello

html tags are accepted in LongText columns only. 

Change the type of your virtual column to "LongText" and enable HTML Formatting in the detail type.

 

 

I updated the column to longtext type and allowed HTML  but still the tags are not picked. In the picture below sample table has to be the table but it is just picking formula content:
formula:
"
<table border='1' style='width:100%; border-collapse: collapse; text-align: left; background-color: white;'>
<thead>
<tr style='background-color: #e0e0e0;'>
<th style='padding: 8px; border: 1px solid #ddd;'>Blood Type</th>
<th style='padding: 8px; border: 1px solid #ddd;'>Gives</th>
</tr>
</thead>
<tbody>
<tr>
<td style='padding: 8px; border: 1px solid #ddd;'><b>A+/b></td>
<td style='padding: 8px; border: 1px solid #ddd;'>A+,AB+</td>
</tr>
<tr>
<td style='padding: 8px; border: 1px solid #ddd;'><b>O+</b></td>
<td style='padding: 8px; border: 1px solid #ddd;'>O+,A+,B+,AB+</td>
</tr>
<tr>
<td style='padding: 8px; border: 1px solid #ddd;'><b>B+</b></td>
<td style='padding: 8px; border: 1px solid #ddd;'>B+,AB+</td>
</tr>
<tr>
<td style='padding: 8px; border: 1px solid #ddd;'><b>O-</b></td>
<td style='padding: 8px; border: 1px solid #ddd;'>Everyone</td>
</tr>
</tbody>
</table>"

Tendo05_0-1749025819789.png

 

I believe you are showing a Form view.

HTML tags are rendered only in the Details view.

have you activated the "preview new features" option, in settings / views / general ?Capture dโ€™eฬcran 2025-06-04 aฬ€ 16.08.00.png

As far as i know you can't use specific table / cell variables eg. style='padding: 8px; border: 1px solid #ddd

Unless they changed something within the last few weeks.

Refer to "rich-text" forum post for allowed tags

Top Labels in this Space