Check documentation for the latest version of dhtmlxSuite setItemImage DHTMLX Docs

setItemImage

sets image of tree col

void setItemImage(string|number rowId,string url);
rowIdstring|numberid of row
urlstringimage url

Example

myTreeGrid.setItemImage(rowId,"../../../dhtmlxGrid/codebase/imgs/csh_bluebooks/folder.gif")

Details

Note, this method should be called only after appropriate row is loaded

Back to top