Incorrectly working option dhtmlx.image_path


#1

If I set the option dhtmlx.image_path, Grid, and Calendar automatically fills in the correct directory with pictures (dhxgrid_skyblue and dhxcalendar_skyblue). Component Tree does not substitutes the directory dhxtree_skyblue.



#2

Hello
This method is deprecated in dhtmlx 4+ version.
What version do you use?


#3

I upgrading from 3.6 to 4.6.
If I did not point out dhtmlx.image_path there are problems with checkboxes in Grid.



#4

Sorry to mislead you a little…

From 4+ version a lot of tree pictures came to CSS, so you don’t need to call this method (just sometimes, in some cases)
Grid has bigger number of picturesб so it needs this method

You can use setImagePath method in both cases or dhtmlx.image_path (it is not deprecated, it just became unnecessary for some components)


#5

Yes, I use setImagePath for Tree. But I think this is the wrong behavior. Given that other components are working with dhtmlx.image_path without the need to call setImagePath.


#6

Hi

Seems like in tree one level (the last one) is missed. Please attach used dhtmlx.js or send it to support@dhtmlx.com if it PRO, I will add needed fix.


#7

thx, i attached standard dhtmlx 4.6
dhtmlx.zip (292 KB)


#8

Here is you fixed dhtmlx.js in attachment
dhtmlx.zip (294 KB)


#9

thanks, Now works well.


#10

You are welcome!