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\nConfig object that is applied to the internally created DragZone
\nConfig object that is applied to the internally created DragZone
\nThe CSS class added to the outermost element of the created ghost proxy\n(defaults to 'x-dataview-draggable-ghost')
\nDefaults to: "x-dataview-draggable-ghost"
Config object that is used to configure the internally created DataView
\nConfig object that is used to configure the internally created DataView
\nThe Ext.view.View instance that this DragZone is attached to
\nThe Ext.view.View instance that this DragZone is attached to
\nCreates 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.
\nReturns 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.
\nCalled when the attached DataView is rendered. Sets up the internal DragZone
\nUpdates the internal ghost DataView by ensuring it is rendered and contains the correct records
\nThe set of records that is currently selected in the parent DataView
\nThe Ghost DataView
\n