Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Oct 29, 2008 15:10
open dhtmlx forum
Images rendering issue using dhtmlxTreeGrid

Hi,
I am using dhtmlxTreeGrid_v20_pro_81009 version codebase, I'm developing a web application and I am building a dhtmlxtreeGrid that uses about 5 images on each row, when I run the application the screen seems to gradually painting, looks like its taking time to load images

I saw enableIEImageFix in dhmtlxtree.js file, tried to use similar function in dhmtlxtreegrid.js file but saw no difference in performance.

Need help to fix this issue.

I am using JSON my Sample image code

data.add("<div onclick='navigateAway(xxx, true)'><a href= \"#\"><img border=\"0\" src='xxx'/></a></div>")

Thanks
Laks
Answer posted by Support on Oct 30, 2008 03:39
The  enableIEImageFix affects only images which part of design, it will not affect custom images inside content. 
To workaround issue you can replace
     <img border=\"0\" src='xxx'/>
with 
     <div style='width:10px; height:10px; background-image:url(xxx);></div>

Images defined in such way not affected by IE caching bug.