Icon refreshed but new issue

That works but for some reason it is placing a / and therefore the image is not displaying. It looks lik this dthmlx/img//imagename.png.
How do I remove the second / ?

The path to image set as
image_folder_path + value

So if you have ending “/” in image path, the value of image attribute must be just image name , without starting "/"

if image path ( set by setImagePath or setIconPath ) and image name set correctly, but unwanted “/” still occurs - please provide info , which version of dhtmlxTreeGrid you are using?