Checkbox on tree item not showing if id = 00

Hi,



I have a tree containing countries, each represented with a code that is also used as id. There is one item with code 00 (zero zero) that doesn’t display properly, the checkbox is not visible, but clicking on the empty spot still sets it to Checked or Unchecked.



If I change the id to something else, eg O0 (oh zero), then the checkbox appears.

Also, if I set ctree.enableIEImageFix(true), then the checkbox appears, but then I get a partly visible folder icon on nodes that contain subnodes, even though the icons have been disabled.



Any idea how to fix this?



Cheers,

Theo


Hi,


00 id can not be used as tree item id. It is interpreted as 0 by JavaScript.


Please, try to use another id.