0 Replies Latest reply on Jan 21, 2014 3:55 AM by dongjak

    How to use the dropindex return by mx.controls.Tree.calculateDropIndex()

    dongjak

      Here's a table!1.png,and then i drag the item of Milk to Strawberry2.png,i get drop index by use the datagrid.calculateDropIndex method in dragDrop event handler and i found a position with the index matching data is 3.png!but if it is a MX Tree control?like this 4.png,i move the item of Biscuit to the item of Milk 6.png and i get a drop index is 4,when i want to get the drop  target item  use the drop index  i get a error5.png,how should I do?