I am trying to select multiple items through keyboard navigation.ie., by pressing Ctrl+DownArrow (or) Ctrl+UpArrow…The below coding is how i set the tree…
tree=new dhtmlXTreeObject(“maintree”,“100%”,“100%”,0);
tree.setImagePath(“images/csh_scbrblue/”);
tree.enableDragAndDrop(true);
tree.enableDragAndDropScrolling(true);
tree.enableContextMenu(aMenu);
tree.enableMercyDrag(true);
tree.attachEvent(“onClick”,onNodeSelect);
tree.enableKeyboardNavigation(true);
tree.loadXML(“xmlfiles/maintree.xml”);
tree.attachEvent(“onDrag”,DraggingTreeItems);
tree.attachEvent(“onDrop”,ChangeItemId);
tree.setDragHandler(checkDraggableItem);
tree.enableMultiselection(true);
Please help me out to resolve this problem…
The multiselection in tree can be achieved only by ctr-click and|or shift-click.
There is no way to multiselect items by keyboard only