Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Prakash on Jul 24, 2008 00:01
open dhtmlx forum
Keyboard-Multiselection

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..
Answer posted by Support on Jul 24, 2008 02:00
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