You know when you create a grid or a tree you need also to set the imgs path and it is normally relative to the dhtmlx installation path. When we create our images we want to put them in a separate folder and not mix them up with tree or grid native an dessential images. We can do that but we have to provide an image path relative to the tree or grid imag epath!
Let me explain in a simple example:
(1) Our deployment structure is similar to the following:
when we create our tree we set the imgs path as:
(2) Say we want to show images from our “images” folder in teh tree, we still have to specify a relative path from the dhtmlxTree images folder, i.e
We prefer to use absolute path “honda/images/images/blueBall.gif”
Is there a fix around this?
We can do that but we have to provide an image path relative to the tree or grid imag epath!
Oncoming update will introduce separate command for such task , in current version of tree|grid there is only one command to set path to image folder - it is used for both default and custom images.
There is no fix for current version, but if you need it ASAP - you can contact us directly at firstname.lastname@example.org and we will send you custom build with functionality changed in desired way.