Properties Methods Events Config Options Direct Link
DragDrop
  DD
    DDProxy
      DragSource
        DragZone
          GridDragZone

Class Ext.grid.GridDragZone

Package:Ext.grid
Defined In:GridDD.js
Class:GridDragZone
Extends:DragZone
*

A customized implementation of a DragZone which provides default implementations of two of the template methods of DragZone to enable dragging of the selected rows of a GridPanel.

A cooperating DropZone must be created who's template method implementations of onNodeEnter, onNodeOver, onNodeOut and onNodeDrop

are able to process the data which is provided.

Config Options

Config Options Defined By
  containerScroll : Boolean
True to register this container with the Scrollmanager for auto scrolling during drag operations.
DragZone
  dropAllowed : String
The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").
DragSource
  dropNotAllowed : String
The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop").
DragSource

Public Properties

Property Defined By
  available : boolean
The availabe property is false until the linked dom element is accessible.
DragDrop
  config : object
Configuration attributes passed into the constructor
DragDrop
  defaultPadding : Object
Provides default constraint padding to "constrainTo" elements (defaults to {left: 0, right:0, top:0, bottom:0}).
DragDrop
  invalidHandleClasses : Array
An Array of CSS class names for elements to be considered in valid as drag handles.
DragDrop
  isTarget : boolean
By default, all instances can be a drop target. This can be disabled by setting isTarget to false.
DragDrop
  padding : int[]
The padding configured for this drag and drop object for calculating the drop zone intersection with this object.
DragDrop

Public Methods

Method Defined By

Public Events

This class has no public events.