Ext.data.JsonP.Ext_ux_DataView_Draggable({"mixins":[],"code_type":"ext_define","inheritable":false,"component":false,"meta":{"author":["Ed Spencer"]},"mixedInto":[],"uses":[],"aliases":{},"parentMixins":[],"superclasses":[],"members":{"event":[],"property":[{"meta":{},"owner":"Ext.ux.DataView.Draggable","tagname":"property","name":"dataview","id":"property-dataview"},{"meta":{},"owner":"Ext.ux.DataView.Draggable","tagname":"property","name":"dragZone","id":"property-dragZone"}],"css_var":[],"method":[{"meta":{"private":true},"owner":"Ext.ux.DataView.Draggable","tagname":"method","name":"createGhost","id":"method-createGhost"},{"meta":{"private":true},"owner":"Ext.ux.DataView.Draggable","tagname":"method","name":"getRepairXY","id":"method-getRepairXY"},{"meta":{"private":true},"owner":"Ext.ux.DataView.Draggable","tagname":"method","name":"onRender","id":"method-onRender"},{"meta":{},"owner":"Ext.ux.DataView.Draggable","tagname":"method","name":"prepareGhost","id":"method-prepareGhost"}],"css_mixin":[],"cfg":[{"meta":{},"owner":"Ext.ux.DataView.Draggable","tagname":"cfg","name":"ddConfig","id":"cfg-ddConfig"},{"meta":{},"owner":"Ext.ux.DataView.Draggable","tagname":"cfg","name":"ghostCls","id":"cfg-ghostCls"},{"meta":{},"owner":"Ext.ux.DataView.Draggable","tagname":"cfg","name":"ghostConfig","id":"cfg-ghostConfig"},{"meta":{},"owner":"Ext.ux.DataView.Draggable","tagname":"cfg","name":"ghostTpl","id":"cfg-ghostTpl"}]},"tagname":"class","extends":null,"html":"

Requires

Files

Ext.create('Ext.view.View', {\n    mixins: {\n        draggable: 'Ext.ux.DataView.Draggable'\n    },\n\n    initComponent: function() {\n        this.mixins.draggable.init(this, {\n            ddConfig: {\n                ddGroup: 'someGroup'\n            }\n        });\n\n        this.callParent(arguments);\n    }\n});\n
\n\n
Defined By

Config options

Ext.ux.DataView.Draggable
view source
ddConfig : Object

Config object that is applied to the internally created DragZone

\n

Config object that is applied to the internally created DragZone

\n
Ext.ux.DataView.Draggable
view source
: String
The CSS class added to the outermost element of the created ghost proxy\n(defaults to 'x-dataview-draggable-ghost') ...

The CSS class added to the outermost element of the created ghost proxy\n(defaults to 'x-dataview-draggable-ghost')

\n

Defaults to: "x-dataview-draggable-ghost"

Ext.ux.DataView.Draggable
view source
ghostConfig : String

Config object that is used to configure the internally created DataView

\n

Config object that is used to configure the internally created DataView

\n
Ext.ux.DataView.Draggable
view source
: Ext.XTemplate/Array
The template used in the ghost DataView ...

The template used in the ghost DataView

\n

Defaults to: ["<tpl for=".">", "{title}", "</tpl>"]

Defined By

Properties

Ext.ux.DataView.Draggable
view source
dataview : Ext.view.View

The Ext.view.View instance that this DragZone is attached to

\n

The Ext.view.View instance that this DragZone is attached to

\n
Ext.ux.DataView.Draggable
view source
dragZone : Ext.dd.DragZone

The attached DragZone instane

\n

The attached DragZone instane

\n
Defined By

Methods

Ext.ux.DataView.Draggable
view source
( Object records )private
Creates the 'ghost' DataView that follows the mouse cursor during the drag operation. ...

Creates the 'ghost' DataView that follows the mouse cursor during the drag operation. This div is usually a\nlighter-weight representation of just the nodes that are selected in the parent DataView.

\n

Parameters

Ext.ux.DataView.Draggable
view source
( Object e )private
Returns the x and y co-ordinates that the dragged item should be animated back to if it was dropped on an\ninvalid dro...

Returns the x and y co-ordinates that the dragged item should be animated back to if it was dropped on an\ninvalid drop target. If we're dragging more than one item we don't animate back and just allow afterRepair\nto frame each dropped item.

\n

Parameters

Ext.ux.DataView.Draggable
view source
( )private
Called when the attached DataView is rendered. ...

Called when the attached DataView is rendered. Sets up the internal DragZone

\n
Ext.ux.DataView.Draggable
view source
( Array records ) : Ext.view.View
Updates the internal ghost DataView by ensuring it is rendered and contains the correct records ...

Updates the internal ghost DataView by ensuring it is rendered and contains the correct records

\n

Parameters

  • records : Array

    The set of records that is currently selected in the parent DataView

    \n

Returns

","subclasses":[],"name":"Ext.ux.DataView.Draggable","alternateClassNames":[],"inheritdoc":null,"files":[{"href":"Draggable.html#Ext-ux-DataView-Draggable","filename":"Draggable.js"}],"html_meta":{"author":null},"singleton":false,"id":"class-Ext.ux.DataView.Draggable","statics":{"property":[],"event":[],"css_var":[],"method":[],"css_mixin":[],"cfg":[]},"requires":["Ext.dd.DragZone"]});