# How to manage long length text in data table viz?

**URL:** <https://discuss.elastic.co/t/how-to-manage-long-length-text-in-data-table-viz/255339>\
**Category:** Kibana\
**Created:** [November 13, 2020, 12:32pm UTC](https://discuss.elastic.co/t/how-to-manage-long-length-text-in-data-table-viz/255339 "2020-11-13T12:32:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vidhyadhara](https://avatars.discourse-cdn.com/v4/letter/v/c0e974/32.png) [@vidhyadhara](https://discuss.elastic.co/u/vidhyadhara)\
**Post date:** [November 13, 2020, 12:32pm UTC](https://discuss.elastic.co/t/how-to-manage-long-length-text-in-data-table-viz/255339/1 "2020-11-13T12:32:09Z")

</div>

Hello everyone,

Below is the screenshot of a data table viz. here I have a lengthy column (story.keyword), I don't want to display so much of text.

1. Is there any way to wrap it up and display only when needed ??

2. I can make that column as URL/hyperlink and redirect it to discover, but then I need the hyperlinked data also when I click on the download option at the bottom of data table.

Any of the above 2 options would do fine, please suggest any other work around.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/b/5b3ea92de9a9f6247319d2a63e1dd6685a8d464a.png)

Thanks in advance. 😀

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [November 13, 2020, 2:07pm UTC](https://discuss.elastic.co/t/how-to-manage-long-length-text-in-data-table-viz/255339/2 "2020-11-13T14:07:38Z")

</div>

I don't see the screenshot.

1. You can use a scripted field to truncate the text.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/d/bd45a04c98181ce4c1597d1ba961a6766d4d57dc.png)

1. You can use a scripted field like the option above but change to `truncate` to `URL`

---

<div class="post-metadata">

**Author:** ![vidhyadhara](https://avatars.discourse-cdn.com/v4/letter/v/c0e974/32.png) [@vidhyadhara](https://discuss.elastic.co/u/vidhyadhara)\
**Post date:** [November 13, 2020, 2:31pm UTC](https://discuss.elastic.co/t/how-to-manage-long-length-text-in-data-table-viz/255339/3 "2020-11-13T14:31:28Z")

</div>

Hello @aaron-nimocks,

Wooow... so simple and just awesome... Thank you so much 😃

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 11, 2020, 2:31pm UTC](https://discuss.elastic.co/t/how-to-manage-long-length-text-in-data-table-viz/255339/4 "2020-12-11T14:31:56Z")

</div>

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