Hi,
I have a dhtmlx grid that I am loading with data, including one column with type “img”. This column loads with text indicating what color the field should show. I would like to load an image into that column depending on the text in that field. If the cell’s text == “GREEN”, I would like to make an image called “green.gif” appear in that cell. Is there any way to do this after the grid loads? I have tried to do things like this but nothing seems to be working:
grid.cells(i,12).cell.setAttribute(‘src’, ‘green.gif’);
AND
grid.cells(i,12).cell.innerHTML = “”;
Any help would be appreciated.
Thanks.