M
- the model typepublic class GridDropTarget<M> extends DropTarget
Grid
to act as the target of a drag and drop operation.
Use DropTarget.setFeedback(com.sencha.gxt.dnd.core.client.DND.Feedback)
to specify whether to allow inserting
items between rows, appending items to the end, or both (defaults to
DND.Feedback.BOTH
).
Use DropTarget.setOperation(com.sencha.gxt.dnd.core.client.DND.Operation)
to specify whether to move items or copy
them (defaults to DND.Operation.MOVE
).Constructor and Description |
---|
GridDropTarget(Grid<M> grid)
Creates a drop target for the specified grid.
|
Modifier and Type | Method and Description |
---|---|
Grid<M> |
getGrid()
Returns the grid associated with this drop target.
|
addDragCancelHandler, addDragEnterHandler, addDragLeaveHandler, addDragMoveHandler, addDropHandler, disable, enable, getFeedback, getGroup, getOperation, getOverStyle, getWidget, isAllowSelfAsSource, isEnabled, release, setAllowSelfAsSource, setFeedback, setGroup, setOperation, setOverStyle
Copyright © 2015. All rights reserved.