Canvas image in data table cell

Trying to add image to data table in canvas

  1. Already formatted field in index pattern to use url of image -> still getting the {value} in canvas data cell
  2. Trying to replace the {value} with Image html code => Canvas data table showing html code instead of image
filters
| essql query="SELECT * FROM \"es_index*\" "
| mapColumn "data_column"
fn={getCell "data_column" | eq "1005" | replace replacement="<img> url=\"https://image-url/1005.png\" </img>" pattern=".*"}
| table perPage=10
| render css=".canvasRenderEl{

}"
  1. Trying to replace the {value} with Image expression but not working
filters
| essql query="SELECT * FROM \"es_index*\" "
| mapColumn "data_column"
fn={getCell "data_column" | eq "1005" | replace replacement=image dataurl=https://image-url/1005.png mode="contain" pattern=".*"}
| table perPage=10
| render css=".canvasRenderEl{

}"

Hi @ErSumit

Anything that required markup in a table cell is not going to be possible at this time.

We have discussed some kind of advanced data table that would allow this, but don't have anything definitive in mind.

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