Categories | Question details Back To List | ||
Is it possible to keep the tree data type in open state itself . (I.e) the "+" icon should not be there and "-" icon should be there. (All the child and grand child of the tree should be shown. Whenever i drag and drop the tree gets a + icon near it . Esp when the tree has one child . I want that to open out so that all the child are shown .. Can anybody help me out on how to change the behaviour Answer posted on Jun 28, 2007 16:25 For dhtmlxTree - the simplest way to achieve such functionality will be to use next code tree.attachEvent("onDrop",function(id){ tree.openItem(tree.getParentId(id)); }); as result after each drag and drop operation the target element will be expanded In case of dhtmlxTreeGrid solution may be similar , but will use setDropHandler instead of attachEvent Answer posted by radyno (Support) on Dec 06, 2014 00:05 Not much can be said in addition to the reply above, but you also can check browser javascript and ajax tab control and find out what we have probably missed in our explanation. |