2 Replies Latest reply on Apr 6, 2010 11:59 PM by flanagann_

    Dropping only a subset of multiple items

    flanagann_

      Hello, this is my 1st message on the forum; sure it won't be the last one.

       

      I'm developing two data grids with drag and drop support. Multiple items can be selected from the source data grid, and dropped into the target data grid.

       

      I'm using an drag and drop event listener which completes the operation only in certain cases. I'm using 'event.preventDefault()' but it doesn't work, since it stops the drag and drop from all the items.

       

      My aim is, for example, finally dropping 2 elements from the total 4 elements that I previously selected.

       

      Hope you can help me!