# Color formatter for table

**URL:** <https://discuss.elastic.co/t/color-formatter-for-table/229873>\
**Category:** Kibana\
**Created:** [April 26, 2020, 9:17pm UTC](https://discuss.elastic.co/t/color-formatter-for-table/229873 "2020-04-26T21:17:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssimmons](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@ssimmons](https://discuss.elastic.co/u/ssimmons)\
**Post date:** [April 26, 2020, 9:17pm UTC](https://discuss.elastic.co/t/color-formatter-for-table/229873/1 "2020-04-26T21:17:39Z")

</div>

I'm trying to get the color formatter working for a Kibana EuiBasicTable object, but I'm not seeing any changes. If I load a "Data Table" from the "New Visualization" selection window in Kibana, that table does show my color formatter changes. Can someone tell me if the EuiBasicTable supports the color formatter? Also, what table object is used for the "Data Table" widget in the Kibana Visualization? I might be able to use that table object since it does support the color formatter. I'm using Kibana 7.5.

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [April 27, 2020, 7:25pm UTC](https://discuss.elastic.co/t/color-formatter-for-table/229873/2 "2020-04-27T19:25:18Z")

</div>

Hi @ssimmons

I guess you are writing a custom plugin?

Are you referring to the `<EuiBasicTable>` react component ([https://elastic.github.io/eui/#/tabular-content/tables](https://elastic.github.io/eui/#/tabular-content/tables)) ? If so, this is a lower-level component and does not provide direct access to the field-formatters. Field-formatters are tied to index-patterns ([https://www.elastic.co/guide/en/kibana/current/field-formatters-string.html](https://www.elastic.co/guide/en/kibana/current/field-formatters-string.html)), which are a Kibana-wide concept.

You can have custom colors inside `<EuiBasicTable>` but you will have to write your own function. See the `render` property in the examples over at [https://elastic.github.io/eui/#/tabular-content/table](https://elastic.github.io/eui/#/tabular-content/table) .

---

<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:** [May 25, 2020, 7:25pm UTC](https://discuss.elastic.co/t/color-formatter-for-table/229873/3 "2020-05-25T19:25:19Z")

</div>

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