Image icons for the treegrid don't appear

Hi,

I’ve created a grid that has a treegrid column specified (please see the attachment for what it looks like) The problem is that I can’t seem to get any of the images, besides the plus and minus, to load. Here is how I set up the grid:

[code]treeGrid = new dhtmlXGridObject($scope.divId);
treeGrid.setImagePath(“resources/dhtmlxsuite/dhtmlxGrid/codebase/imgs/”);
treeGrid.setSkin( “light” );

treeGrid.setHeader("#master_checkbox,Region, Store, AMM Tier Code, Exclude AMM");
treeGrid.setColumnIds("master","region","store", "ammTierCode", "exAmm");
treeGrid.setItemImage( 1, "leaf.gif" );
treeGrid.setInitWidths("40,150,150,150,100");
treeGrid.setColTypes("ch,tree,ed,coro,ch");
treeGrid.setColAlign("center,left,left,left,center");
treeGrid.setColSorting("ch,str,str,str,ch");

treeGrid.init();[/code]

So here I’m stating that the “region” column is the treegrid so it should ge the “leaf.gif” - correct? So what am I missing here?

Thanks

POP!!

Please, try to add the image right in your xml:

<row id="h523"> <cell image="folder.gif">Nerw York</cell> <cell>...</cell> <cell>...</cell> </row>