Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jose Alberto Ronda on Sep 06, 2007 13:20
open dhtmlx forum
dhtmlxTree

I am initializing a tree from HTML (<ul><li>...). I am also enabling checkboxes and 3-state checkboxes. Is there any atribute on the <li> tag, where I can specify that a node is selected?

Puting any character inside the atribute value (i.e value="Y"), seems to work, but the parent node does not get checked, so the 3-state seems not to work.
Answer posted by Stanislav on Sep 06, 2007 16:00
Latest version of "tree_from_html" support "checked" attribute, which is optional
    0 - unchecked
    1 - checked
    -1 - third state


   
Attachments (1)