how to prevent droppable function if it drops in that div Only

Posted by Manorama under jQuery on 5/7/2013 | Points: 10 | Views : 6041 | Status : [Member] | Replies : 2
hi....

I have Tree view and Data Table;i made both are draggable and droppable because my requirement is Once we drag a node from tree view to Data table It has to be column and when i drag column from data table onto the tree view Column has to remove from Data Table ...for this application i done both controls are draggable and droppable.and i used revert:true;when it is dragged out of droppable location it will come back;Its working fine for data table..but treeview is making problem if i drop node from tree view and drop on tree view itself its not reverting ;Its calling droppable function its not reverting...actually Once i drag from Data Table to treeview..This function has to call.. $("#treeviewDiv").droppable({});Its calling in wrong way.Please guide me in this...Here is my code:


Thanks in Advance.......

ManoRama


Responses

Posted by: Qianyouwui on: 5/7/2013 [Member] Starter | Points: 25

Up
0
Down
[url=http://choosetopclothing.com/]Gucci Clothing Outlet[/url]
[url=http://choosetopclothing.com/]Cheap Armani Jacket[/url]


Manorama, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Qianyouwui on: 5/7/2013 [Member] Starter | Points: 25

Up
0
Down
[url=http://www.clothingtradetown.com]cheap gucci clothing[/url]
[url=http://www.clothingtradetown.com]cheap lv shoes[/url]

Manorama, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response