problem in inserting image

i am getting the problem in inserting the image i tried these grid.cells(i,j).setImage(url); but it is telling that the object of these type is not supporting

The setImage works for “img” or “tree” excell types only.
If problem occurs for one of mentioned type - please be sure that cells(i,j) point to existing row and cell.
For any other cell type, if you want to set an image you can use next approach
    grid.cells(i,j).setValue("");

Also, there is an issue in current build ( 1.4 71022 ) which may prevent setImage works correctly in some circumstances.

If problem occurs for “tree” column type - please contact directly at
support@dhtmlx.com and provide your ref. number - we will send you
updated js file.