dhtmlxTree checkbox with a cross in place of a tick

Standard checboxes have ticks but I wondered whether with the dhtmlxTree checkbox its possible to replace a tick wth a cross? Sometimes you want to check the box to indicate a negative.

There isn’t public method to check images for checkbox states.

Try to redefine the next property - set the appropriate image for checked state here:

tree.checkArray[1] = “yourImage.gif”;

The path to the image folder is set in the setImagePath method.

Works great - thank you