Package: | Roo |
Defined In: | Roo/DDView.js. |
Class: | DDView |
Options | Defined By | |
---|---|---|
allowCopy : Boolean
Causes ctrl/drag operations to copy nodes rather than move.
Causes ctrl/drag operations to copy nodes rather than move.
|
Roo.DDView | |
copy : Boolean
Causes drag operations to copy nodes rather than move.
Causes drag operations to copy nodes rather than move.
|
Roo.DDView | |
dragGroup : String/Array
The ddgroup name(s) for the View's DragZone.
The ddgroup name(s) for the View's DragZone.
|
Roo.DDView | |
dropGroup : String/Array
The ddgroup name(s) for the View's DropZone.
The ddgroup name(s) for the View's DropZone.
|
Roo.DDView |
Method | Defined By | |
---|---|---|
Create a new Roo.DDView
Create a new Roo.DDView
|
||
getContextMenu
()
Return the context menu for this DDView.
Return the context menu for this DDView.
|
Roo.DDView | |
getDragData
()
Create the drag data which consists of an object which has the property "ddel" as
the drag proxy element.
Create the drag data which consists of an object which has the property "ddel" as
the drag proxy element. |
Roo.DDView | |
getDropPoint
()
Decide whether to drop above or below a View node.
Decide whether to drop above or below a View node.
|
Roo.DDView | |
getName
()
Allows this class to be an Roo.form.Field so it can be found using {link Roo.form.BasicFormfindField}.
Allows this class to be an Roo.form.Field so it can be found using {link Roo.form.BasicFormfindField}.
|
Roo.DDView | |
getTargetFromEvent
()
Part of the Roo.dd.DropZone interface.
Part of the Roo.dd.DropZone interface. If no target node is found, the
whole Element becomes the target, and this causes the drop gesture to append. |
Roo.DDView | |
getValue
()
:
String
|
Roo.DDView | |
onDblClick
()
Double click fires the event, but also, if this is draggable, and there is only one other
related DropZone, it transfers the selected node.
Double click fires the event, but also, if this is draggable, and there is only one other
related DropZone, it transfers the selected node. |
Roo.DDView | |
remove
(Array/Number selectedIndices)
Remove {link Roo.data.Record}s at the specified indices.
Remove {link Roo.data.Record}s at the specified indices.
|
Roo.DDView | |
setDeletable
(String imageUrl)
Utility method.
Utility method. Add a delete option to the DDView's context menu.
|
Roo.DDView | |
setDraggable
()
Specify to which ddGroup items in this DDView may be dragged.
Specify to which ddGroup items in this DDView may be dragged.
|
Roo.DDView | |
setDroppable
()
Specify from which ddGroup this DDView accepts drops.
Specify from which ddGroup this DDView accepts drops.
|
Roo.DDView | |
setValue
()
Loads the View from a JSON string representing the Records to put into the Store.
Loads the View from a JSON string representing the Records to put into the Store.
|
Roo.DDView |