DHTMLX Tree : Making checkbox and radio selected from XML

Hi,

I want to make checkbox checked or radio button present in tree selected from XML file only.

How to do it ???

There is “checked” attribute which checks an item:

    <item checked=“1” …

If you do not want that a user check any item, you can use onBeforeCheck event handler. If it returns false, the changing state will be disabled:

tree.attachEvent(“onBeforeCheck”,function(id,state){
    return false
})