1 Reply Latest reply on Jun 16, 2012 5:16 AM by SHIVANG SANGHI

    How to know the drop index in receiving list

    Maximist Level 1

      Hallo. I am trying to copy elements from list 1 to list 2, anyway in list 1 i have some objects which are different from objects in list 2 so in the dragDrop event of the list 2 i wrote event.preventDefault() to prevent the paste of a different object in the list 2 .. I want to do it manually but i want to add the new element in the right position based no where the dropindicator is but i don't know where that index is.. When you do it automatically it knows where to put the new object based on the position of the mouse.. How can i know that index??..


      I hope you understand my request