DHTLMX Tree : Radio Button not showing as selected

Hi there,

I am not able to show the radio button as selected while creating tree from following XML file.

It directly goes to the last radio button i.e to this node --> “” as selected instead of this node “” even after writing checked=“1”. please help.







<?xml version='1.0' encoding='iso-8859-1'?>



    

        

            

            

                

                

                

                

                

            

            

            

        

        

            

            

        

    

Problem cant be reconstructed locally, the same xml file works correctly - please check attached sample.
If problem still occurs for you - please provide any kind of sample where issue can be reconstructed ( you can send sample directly to support@dhtmlx.com )

1216737432.zip (47.1 KB)

Will this work with threestatecheck ???

The same sample will work correctly with 3-state checkboxes as well.
Just add
        tree.enableThreeStateCheckboxes(true)

In common case, usage of radio buttons with three state checkboxes can be problematic ( radio buttons also will be incuded in 3-state logic, so they may change their value based on selected state of parent|child items )