Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Scott Messer on Mar 13, 2008 06:20
open dhtmlx forum
XML attribute to not display sign (+/-) in tree

Is there some attribute that can be used in the <item> element that will cause the item's sign to not be displayed? I realize that the showItemSign function can be called to do this after the XML is loaded, but I want to set this in the XML if possible. The item will be open, and I don't want to show the (-) sign, and I don't want to allow the user to be able to collapse the item.
Answer posted by Support on Mar 13, 2008 07:30
There is no way to fully remove item sign from XML, but you can made disable it by

<item open="1" closeable="1" ...

such item will be rendered as open one, and will not react on closing attempts

Full list of tree XML attributes can be checked at http://docs.dhtmlx.info