dhtmlXTree : only one select in whole tree

i have a radio button tree, how to do only one selection in whole tree.

add next line to the tree initialization
    tree.enableSingleRadioMode(true)