I am experimenting with the table and example code for Google's Visualization Table.
https://google-developers.appspot.com/chart/interactive/docs/gallery/table
However, I need to be able to using images (via URL) inside the cells. It seems the AddColumn
function only supports string
, number
, boolean
, date
, datetime
, and timeofday
types per the datatable
documentation.
Is there a way around this or something I'm missing to be able to insert a web image into some cells?
You have to use a "string" type column that contains the HTML to create the
<img>
tags. Then in the Table's options, you need to set theallowHtml
option to true.