setFeedback() is used to specify the appearance of the drag-and-drop target object. For example, you can specify different visual indicators for situations, when the mouse cursor is placed at the drag and drop target.
setFeedback() does not return any values, but needs a string parameter to be passed:
All |
The dropped object will be placed to some place on the target, the exact location is not important. |
Insert |
The dropped object will be inserted between the existing rows of the list. |
Select |
The dropped object will replace the row of the list that appears under the mouse. |