# Customize Canvas Data Table cell based on condition

**URL:** <https://discuss.elastic.co/t/customize-canvas-data-table-cell-based-on-condition/172537>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [March 15, 2019, 1:34pm UTC](https://discuss.elastic.co/t/customize-canvas-data-table-cell-based-on-condition/172537 "2019-03-15T13:34:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![antti](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@antti](https://discuss.elastic.co/u/antti)\
**Post date:** [March 15, 2019, 1:34pm UTC](https://discuss.elastic.co/t/customize-canvas-data-table-cell-based-on-condition/172537/1 "2019-03-15T13:34:23Z")

</div>

Hi, was wondering can you in current Canvas version (Kibana 6.6.0) highlight table cells, based on some condition?

I mean for example, if certain column in table contains response time in seconds and in some of the rows/cells the time is over certain threshold (let's say over 60 sec.), you could then highlight that row and/or cell - for example change font style to bold and background color to yellow, etc.

I already use the `| mapColumn .. fn={if .. then={ .. else={` to change / format some cell values, based on condition, but have not figured out, how could I change the look of just certain rows or cells of table, based on some condition of values that row or cells show.

BR,  
Antti

---

<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:** [April 12, 2019, 1:34pm UTC](https://discuss.elastic.co/t/customize-canvas-data-table-cell-based-on-condition/172537/2 "2019-04-12T13:34:27Z")

</div>

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