# Grafana Table span

**URL:** <https://community.grafana.com/t/grafana-table-span/40885>\
**Category:** Grafana\
**Created:** [December 21, 2020, 9:30pm UTC](https://community.grafana.com/t/grafana-table-span/40885 "2020-12-21T21:30:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lachg258](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@lachg258](https://community.grafana.com/u/lachg258)\
**Post date:** [December 21, 2020, 9:30pm UTC](https://community.grafana.com/t/grafana-table-span/40885/1 "2020-12-21T21:30:56Z")

</div>

Hi guys,

So currently I am pulling in data and outputting it in the form of a table. However, there is quite a bit of information being pulled across for each section of information which does not fit in a single row (a single line) where the end of the text is being cut off at the end. Is there any way to change the column height, so that a single table cell can have multiple lines of information being portrayed?

Thank you!

---

<div class="post-metadata">

**Author:** ![codlord](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@codlord](https://community.grafana.com/u/codlord)\
**Post date:** [December 22, 2020, 9:59am UTC](https://community.grafana.com/t/grafana-table-span/40885/2 "2020-12-22T09:59:04Z")

</div>

If you are using Grafana v7 you could try using the old table panel from v6 - although the new v7 table panel has some good features, it is missing lots of features that were in the v6 panel.

Edit your panel JSON and change:  
`"type": "table"`  
to  
`"type": "table-old"`

That will change the panel version (you can always change back). That may handle wrapping differently and solve your problems, if not you could try the `Sanitize HTML` option on a column and then use html tags within your output to format text or insert newlines however you want.

---

<div class="post-metadata">

**Author:** ![lachg258](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@lachg258](https://community.grafana.com/u/lachg258)\
**Post date:** [December 30, 2020, 12:59am UTC](https://community.grafana.com/t/grafana-table-span/40885/3 "2020-12-30T00:59:09Z")

</div>

Awesome! Thank you for your help!

---

<div class="post-metadata">

**Author:** ![Rohan](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@Rohan](https://community.grafana.com/u/Rohan)\
**Post date:** [February 12, 2022, 1:27am UTC](https://community.grafana.com/t/grafana-table-span/40885/4 "2022-02-12T01:27:34Z")

</div>

> [@codlord](#):
>
> Sanitize HTML

Hey there, i am experiencing the same issue and the problem with our Graphana is we are at v8.3.1 , if we use “table-old” that still doesn’t help, any suggestions?

---

<div class="post-metadata">

**Author:** ![codlord](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@codlord](https://community.grafana.com/u/codlord)\
**Post date:** [February 12, 2022, 9:57am UTC](https://community.grafana.com/t/grafana-table-span/40885/5 "2022-02-12T09:57:00Z")

</div>

You have not said why using table-old does not help or what you have tried so it’s going to be difficult for anyone to give further help. Using table-old and the Sanitize HTML options works fine for me. I am using Grafana 8.1.5 currently.

For example, with a MySQL datasource I can do something like this to output HMTL line breaks between values:

> SELECT CONCAT(db.val1, ‘  
> ’, db.val2, ‘  
> ’, db.val3)  
> FROM …  
> WHERE …

The result being 3 values output in one table cell but on three different lines. Sanitize HTML is the most powerful feature of table-old - you can output any HTML you want and therefore format the table in ways no other built-in features allow. You can build tables with icons, fonts, pictures, colours, styling, clickable links etc.

---

<div class="post-metadata">

**Author:** ![Rohan](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@Rohan](https://community.grafana.com/u/Rohan)\
**Post date:** [February 12, 2022, 9:06pm UTC](https://community.grafana.com/t/grafana-table-span/40885/6 "2022-02-12T21:06:34Z")

</div>

```auto
You have not said why using table-old does not help or what you have tried so it’s going to be difficult for anyone to give further help. Using table-old and the Sanitize HTML options works fine for me. I am using Grafana 8.1.5 currently.

```

Sorry apologies, but to answer your question - Please see the configuration below

![image](https://us1.discourse-cdn.com/grafana/original/3X/3/2/32bca0bb2607010e368ce5fda94165e348786a94.png)

![image](https://us1.discourse-cdn.com/grafana/original/3X/8/2/822bf65318d6e244755fbe9416b13cd192f01175.png)

And the Field name “Event Name” is still showing words before “space” where complete sentence is “Clinical Verification Accepted” and it only shows “Clinical”

![image](https://us1.discourse-cdn.com/grafana/original/3X/c/3/c3c077111b924010649f68a123e3941bfb3277e9.png)

Let me know if you believe there’s something else i could try, but be sure of it , i am fairly new to Grafana so might need your guidance in terms of setting them up

---

<div class="post-metadata">

**Author:** ![Rohan](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@Rohan](https://community.grafana.com/u/Rohan)\
**Post date:** [February 24, 2022, 4:04am UTC](https://community.grafana.com/t/grafana-table-span/40885/7 "2022-02-24T04:04:11Z")

</div>

@codlord - any suggestion what can be done further?

---

<div class="post-metadata">

**Author:** ![codlord](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@codlord](https://community.grafana.com/u/codlord)\
**Post date:** [February 24, 2022, 7:11am UTC](https://community.grafana.com/t/grafana-table-span/40885/8 "2022-02-24T07:11:38Z")

</div>

I don’t know and I don’t think this is a table span issue so I would suggest you start a new topic and give full details of your grafana version, data source, the exact query you are using etc.
