Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Stephen on Dec 24, 2009 02:54
open dhtmlx forum
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.
Answer posted by Alex (support) on Dec 24, 2009 05:34

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.

Answer posted by Stephen on Jan 18, 2010 05:57
Works great - thank you