Dear visitor, despite the COVID-19 outbreak, our team continues operating at full speed.

Also, here is the form where you can apply for a special discount and we will contact you with possible options. Stay safe and continue achieving your business goals.

Fill the form
Get Free Trial
Get Free Trial

How to pass an image to a cell?

Satyanarayana asked on June 28, 2019

I need to pass an image to a cell data, please help me on how to achieve my req.

1 answer

Vera Didenko Flexmonster July 1, 2019

Hello, Satya,
Thank you for writing to us.
This can be achieved via the customizeCell() API call.
With the customizeCell() API call you can get access to the wanted cells and add an image to them:
1) Specify the customizeCell property:

customizeCell: customizeCellFunction

2) Provide the implementation, for example, the following will add an image to each value cell:

function customizeCellFunction(cell, data) {
if (data.value) {

Here is a JSFiddle example for illustration.
Please let us know if you have further questions.
Best Regards,

Please login or Register to Submit Answer