How to fill in the whole cell via template? #353
-
Hello everyone! I think it is an easy question, but could not find an answer anywhere... I have a column with values and I want to colorize the whole cell based on its value, e.g. if it equals to "22048" I want to make it green and red otherwise I achieved it by following these steps:
The cell is filled with the proper color, however, it does not fill the whole cell: What I wish to achieve is when you use:
in "Cell computed CSS" section Could someone point me to the error in my template? Kibana version is Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Well, “cell computed CSS” is done for that. |
Beta Was this translation helpful? Give feedback.
Hi,
Well, cell computed css has been added especially for that: define background color for whole cell.
There is a padding around cell value that is rendered with template. That's why to my known, you can't define whole cell background color in template.
That said, you can try to set padding to 0 in cell computed css. But no warranty.