How can I insert a picture in a dhtmlxgrid cell?
I have to show in a dhtmlxgrid a list with projects and on the first column I have to show a image related to each project. I don’t know how to write the xml file to upload images for the first column.
T.I.A.
There are two ways
a) use img column type
grid.setColTypes(“img,ro”);
…
just/some/url/file.gif Second column
b) use inline HTML
grid.setColTypes(“ro,ro”);
…
<![CDATA[ ]]> Second column
how to change image in a cell? like file upload button. thanks
dhtmlxGrid doesn’t have built in file upload functionality, but you can use dhtmlxVault to upload files, and after file uploading to server side, update grid’s cell by default grid.cells(i,j).setValue(…) API