I have a treegrid attached to a layout. I’ve defined the icon path and verified that both folder.gif and leaf.gif are present. Unfortunately, neither image show up. Is there an additional step required to enable the row icons?
Unfortunately the issue cannot be reconstructed.
Please, have a look at this example:
http://www.dhtmlx.com/docs/products/dhtmlxLayout/samples/04_components/03_treegrid.html
If issue still occurs for you - provide any kind of sample or demo link to reconstruct it.
I think I figured it out. Somehow I had attempted to add dhtmlxtreegrid_filter.js to the page and after taking it out the icons appeared.
Thanks!
One other quick question related to this…now that my icons do show up, the style is a little screwed up. The icon looks fine, it seems to be in the vertical middle of the row and there is enough padding between it and the tree plus/minus twistie. On the other side, there is no padding between the icon and the text. The text is also visibly top justified.
Any ideas?
Unfortunately it’s not available.
You should try to use images with equal height and width.
Um…the icons are from the library. They are in the icons_greenfolders directory, and they all appear to be 18x18.