For up to date documentation and features, visit http://docs.sencha.com/ext-js/4-0

## Sencha Documentation

# Ext.panel.Proxy

A custom drag proxy implementation specific to Ext.panel.Panels. This class is primarily used internally for the Panel's drag drop implementation, and should never need to be created directly.

Defined By

### Config Options

#### Other Configs

Ext.panel.Proxy
view source
insertProxy : Boolean
True to insert a placeholder proxy element while dragging the panel, false to drag with no proxy (defaults to true). ...

True to insert a placeholder proxy element while dragging the panel, false to drag with no proxy (defaults to true). Most Panels are not absolute positioned and therefore we need to reserve this space.

Defined By

### Properties

Ext.panel.Proxy
view source
panel : Ext.panel.Panel

Defined By

### Methods

Ext.panel.Proxy
view source
Proxy( Object panel, Object config) : void

### Parameters

- panel : Object

  The Ext.panel.Panel to proxy for

- config : Object

  Configuration options

### Returns

- void

Ext.panel.Proxy
view source
getEl : Element

Gets the proxy's element

Gets the proxy's element

### Returns

- Element

  The proxy's element

Ext.panel.Proxy
view source
getGhost : Panel

Gets the proxy's ghost Panel

Gets the proxy's ghost Panel

### Returns

- Panel

  The proxy's ghost Panel

Ext.panel.Proxy
view source
getProxy : Element

Gets the proxy element. This is the element that represents where the Panel was before we started the drag operation.

Gets the proxy element. This is the element that represents where the Panel was before we started the drag operation.

### Returns

- Element

  The proxy's element

Ext.panel.Proxy
view source
hide : void

Hides the proxy

Hides the proxy

### Returns

- void

Ext.panel.Proxy
view source
moveProxy( HTMLElement parentNode, [HTMLElement before]) : void
Moves the proxy to a different position in the DOM. This is typically called while dragging the Panel to keep the pr...

Moves the proxy to a different position in the DOM. This is typically called while dragging the Panel to keep the proxy sync'd to the Panel's location.

### Parameters

- parentNode : HTMLElement

  The proxy's parent DOM node

- before : HTMLElement

  (optional) The sibling node before which the proxy should be inserted (defaults to the parent's last child if not specified)

### Returns

- void

Ext.panel.Proxy
view source
show : void

Shows the proxy

Shows the proxy

### Returns

- void