Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Nov 12, 2008 01:10
open dhtmlx forum
combo in grid - incorrect combo_select.gif path

Should by based on mygrid.setImagePath() settings but is not

My grid version is 2.0
Answer posted by Support on Nov 12, 2008 02:01
Please be sure that setImagePath command was executed before grid.init, setting new path after that moment will not affect combo in grid. 
Answer posted on Nov 12, 2008 02:23
I'm sure
Answer posted by Support on Nov 12, 2008 02:26
Also, if you have defined a global var 
        dhx_globalImgPath
it will be used instead of path, set by  mygrid.setImagePath() 
Answer posted on Nov 12, 2008 06:10
Setting dhx_globalImgPath fixed my problem, but why corrected mygrid.setImagePath()  isn't enough?
Answer posted by Support on Nov 12, 2008 06:26
Actually it must be enough for dhtlmxgrid 2.0, in older versions of code path need to be set through separate var. 
Not sure why problem occurs in your case, maybe some files still used from old version of grid, or somehow cached from that time.