Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ramakrishna on Jul 16, 2008 22:27
open dhtmlx forum
DHTMLX Tree : How to make checkbox and radio button selected when loading from XML file.

Hi,
How can I make checkbox and radio button selected when loading from XML file ?
Answer posted by Support on Jul 17, 2008 04:16
The "checked" attrbute of "item" tag defines checked state
    <item id="some" checked="1" text="It will be checked"/>
It works for both radio and checkboxes.

http://dhtmlx.com/docs/products/docsExplorer/doc/dhtmlxxml/index.html#dhtmlx_xml
http://dhtmlx.com/docs/products/dhtmlxTree/samples/checkboxes/pro_list_radio.html?un=1216294579000