# Issue displaying richText formatted CHEMICAL FORMILAS in lists or tables

**URL:** <https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592>\
**Category:** Ask for Help\
**Created:** [April 15, 2024, 11:27am UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592 "2024-04-15T11:27:30Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joan\_Simon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joan_simon/32/26047_2.png) [@Joan\_Simon](https://community.glideapps.com/u/Joan_Simon)\
**Post date:** [April 15, 2024, 11:27am UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592/1 "2024-04-15T11:27:30Z")

</div>

Hello Glide Community,

I’m currently working on a project that involves displaying a list of chemical formulas. I have these formulas stored in a column formatted in RichText, which displays perfectly when using the RichText text component. However, when I try to incorporate these into a list or table within Glide, the RichText formatting is not supported, and I am unable to see the formatted text. Additionally, when using the RichText text component, only the content from the first cell of the column is displayed.

Could anyone help me understand what I might be doing wrong? How should I proceed to display the entire column with RichText formatting in either a list or a table format? I couldn’t find a solution to this issue in the forum or documentation.

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![SamSC](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/samsc/32/46936_2.png) [@SamSC](https://community.glideapps.com/u/SamSC)\
**Post date:** [April 15, 2024, 11:57am UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592/2 "2024-04-15T11:57:33Z")

</div>

Hey @Joan_Simon,

It would help if you could post examples of the formulas here and perhaps a screenshot of your required list format.

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [April 15, 2024, 12:02pm UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592/3 "2024-04-15T12:02:36Z")

</div>

Rich text is not supported in native collections/lists… only the rich text component.

To get rich text to act like a list put it inside a custom collection 😉

---

<div class="post-metadata">

**Author:** ![Joan\_Simon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joan_simon/32/26047_2.png) [@Joan\_Simon](https://community.glideapps.com/u/Joan_Simon)\
**Post date:** [April 15, 2024, 12:54pm UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592/4 "2024-04-15T12:54:53Z")

</div>

Thank you for the quick response! Below are examples of the chemical formulas I am working with:

- H₂O (water)
- NaCl (salt)
- C₆H₁₂O₆ (glucose)

I’m attaching a screenshot of the desired list format. Your insights on how to manage this in Glide would be incredibly helpful, especially considering this project involves over 400 formulas for a university recycling initiative.

 ![Captura de pantalla 2024-04-15 144711](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/e/7ea928cc05833b45769b2a30c26d8d8d256a4af8.jpeg)

---

<div class="post-metadata">

**Author:** ![Joan\_Simon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joan_simon/32/26047_2.png) [@Joan\_Simon](https://community.glideapps.com/u/Joan_Simon)\
**Post date:** [April 15, 2024, 12:55pm UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592/5 "2024-04-15T12:55:34Z")

</div>

Thanks, @Eric_Penn, for the clarification about RichText support! That’s a great suggestion to use a custom collection to simulate a list. I’ll give it a try. This project is for a university recycling initiative and includes managing over 400 chemical formulas. Your advice is very much appreciated and will significantly aid in organizing this information effectively!

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [April 15, 2024, 1:12pm UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592/6 "2024-04-15T13:12:09Z")

</div>

If this is the desired result I would simply use a Glide collection (not rich text + custom collection). Could we see a sample of the raw data?

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [April 15, 2024, 1:58pm UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592/7 "2024-04-15T13:58:20Z")

</div>

Welcome back Joan 👋

I’m tagging @Marc-Olivier who I believe might have encountered this is his work.

---

<div class="post-metadata">

**Author:** ![Joan\_Simon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joan_simon/32/26047_2.png) [@Joan\_Simon](https://community.glideapps.com/u/Joan_Simon)\
**Post date:** [April 15, 2024, 2:02pm UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592/8 "2024-04-15T14:02:46Z")

</div>

Hello @Eric_Penn ,

Thank you for your advice! I’ve attached a sample of the raw data with some of the chemical formulas in Catalan, as the project is for my university in Barcelona. Here is an example of the data formatting:

Regarding your suggestion, I’m intrigued by the idea of using a Glide Collection instead of combining RichText with a custom collection. Could you please elaborate on the differences between these two approaches? I’ve previously used a Custom Collection as shown in the earlier screenshot, but I’m not entirely sure about the implications of switching to a Glide Collection for this specific need. Thanks again for your help!  
 ![Captura de pantalla 2024-04-15 155501](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/2/2224c1c8fea9abfbeca2d4370cf3af1be6442c85.jpeg)

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [April 15, 2024, 2:11pm UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592/9 "2024-04-15T14:11:32Z")

</div>

> [@Joan\_Simon](#):
>
> Regarding your suggestion, I’m intrigued by the idea of using a Glide Collection instead of combining RichText with a custom collection.

Glide’s usual collections have a set layout and configuration (title, description, meta, image). You can configure a few things, but you cannot entirely build your own collection …

… Actually you can, with the custom collection. The custom collection allows you to display a table of items and customize how items in the collection look. If you need to use the rich text component which seems to be the case, you can do so with a custom collection.

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [April 15, 2024, 2:26pm UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592/10 "2024-04-15T14:26:08Z")

</div>

Actually I think custom collection is the way to go. I’m not sure how to get the sub 2, sub 3, etc without it. Inside a custom collection add two components…Text and Rich Text. The text should target COMPOST and the rich text should target FORMULA.

The ‘Source’ of your Custom Collection should be the table from your screen shot.

 ![Screenshot 2024-04-15 at 10.37.05 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/3/b3ae3006f36031feb0da6b71d43f00447b8275a1.jpeg)

---

<div class="post-metadata">

**Author:** ![Joan\_Simon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joan_simon/32/26047_2.png) [@Joan\_Simon](https://community.glideapps.com/u/Joan_Simon)\
**Post date:** [April 15, 2024, 3:21pm UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592/11 "2024-04-15T15:21:51Z")

</div>

Hello @Eric_Penn ,

Thank you for your detailed suggestion! After reviewing your advice, I believe the custom collection approach, as you’ve described, will indeed be satisfactory for my needs. Using both Text and Rich Text components within a custom collection to target different aspects of the data sounds like a well-tailored solution. I appreciate your guidance on how to properly set up the Source to link to the table from my screenshot. This seems to align perfectly with what I need for the project. Thanks again for helping me figure this out!

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [April 15, 2024, 3:26pm UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592/12 "2024-04-15T15:26:17Z")

</div>

My pleasure @Joan_Simon glad I could help!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [April 22, 2024, 3:26pm UTC](https://community.glideapps.com/t/issue-displaying-richtext-formatted-chemical-formilas-in-lists-or-tables/72592/13 "2024-04-22T15:26:44Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
