Kibana canvas collapse json inside table

Hello. I am showing some json inside a table. Thanks to this post:

the json is shown correctly. I was wondering if there is a way to collapse said json when it gets really long, so the user does not have to use the mouse wheel a lot, but instead can click to see the full thing, something like this:

Hi @Carlos_Fernando_Palm,

I don't think it is possible to make it collapsible in canvas,
but I think you can limit it's height and add inner scroll.

I didn't test, but something like this should work:

.canvasDataTable__table {
  white-space: pre-wrap;
  max-height: 50px;
  overflow-y: auto;
}

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