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! Go to 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
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>"
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 ?
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
User | Count |
---|---|
18 | |
13 | |
8 | |
4 | |
2 |