drop on tabs

hi,

I want a query to be executed once an item dropped on a tab,
ex: I have two paged tab, where two treeviews attached to each tab, when an item dragged from treeview 1 in tab page1 and dropped to top of tab page2 , certain items need to be selected from treeview 2 in tab page2 , upon the execution of a query,
could u pls let me know the implementation possibility on above?

regards,
suminda,

Hi
Do you want to drag a tree-nodes through tabs headers? Means like via onhover event, which switches the tabs?

yes, exactly

Try something like this:

[code]function doOnLoad(){
tabbar = new dhtmlXTabBar(“a_tabbar”, “top”);
tabbar.setSkin(‘default’);
tabbar.setImagePath("…/dhtmlxTabbar/codebase/imgs/");
tabbar.setSkinColors(“white”,"#FFFACD");
tabbar.addTab(“tab1”,“

Tab 1
”,“150px”);
tabbar.addTab(“tab2”,“
Tab 2
”,“150px”);
tabbar.setTabActive(“tab2”);
tabbar.setTabActive(“tab1”);
		tree1 = tabbar.cells("tab1").attachTree();
		tree1.setImagePath("../dhtmlxTree/codebase/imgs/csh_yellowbooks/");
		tree1.loadXML("../dhtmlxTree/samples/common/tree.xml");
		tree1.enableDragAndDrop(true);

        tree2 = tabbar.cells("tab2").attachTree();
        tree2.setImagePath("../dhtmlxTree/codebase/imgs/csh_yellowbooks/");
        tree2.loadXML("../dhtmlxTree/samples/common/tree.xml");
        tree2.enableDragAndDrop(true);
	}
        function f(id){
            tabbar.setTabActive(id);
        }[/code]