Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Gaurang Patel on Apr 16, 2009 08:03
open dhtmlx forum
dhtmlgrid - i want to change image in a cell

Hi,

I want to change the image in a cell on some event.

My column type is 'ro' means readonly.

The new image should come from server.

So how can i call that image into the cell and are there any methods for rendering image from the server after loading the xml.

Thanks in Anticipation
Answer posted by dhxSupport on Apr 16, 2009 08:16

You can change cell's value using setValue() method:

mygrid.cellById(rowId,cellIndex).setValue("<img src='some.gif' />")