Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Properties

Allow Drag

This property determines if the element can be drag and dropped.

Promptable? DROPDOWN
Possible Values: True, False
Bindable? YES
Product: ProfoundUI

Use Proxy

This property determinse if a drag and drop proxy is created. If set to true, instead of dragging the element around, a proxy element is created and moved instead.

Promptable? DROPDOWN
Possible Values: True, False
Bindable? YES
Product: ProfoundUI

OnDragStart

Initiates a client-side script when the user first starts to drag the element. Information about the drag and drop operation is provided using the global pui.dragDropInfo object.

Promptable? YES
Possible Values: Any valid JavaScript code
Bindable? NO
Product: ProfoundUI

Drop Targets

Specifies a list of target id's, which identify where this element can be dropped.

Promptable? YES
Possible Values: Comma separated list of element id's
Bindable? YES
Product: ProfoundUI

OnDragEnter

Initiates a client-side script when the user drags an element over a validdrop target during a drag operation. Information about the drag and drop operation is provided using the global pui.dragDropInfo object.

Promptable? YES
Possible Values: Any valid JavaScript code
Bindable? NO
Product: ProfoundUI

Wiki Markup
{html}
<div class="pagebreak"/>
{html}

OnDragLeave

Initiates aclient-side script when the user moves an element out of a valid drop target during a drag operation. Invormatio about the drag and drop operation is provided using the global pui.dragDropInfo object.

Promptable? YES
Possible Values: Any valid JavaScript code
Bindable? NO
Product: ProfoundUI

OnDrop

Initiates a client-side script when the mouse is released during a drag and drop operation. Information aobut the drag and drop operation is provided using the global pui.dragDropInfo object.

Promptable? YES
Possible Values: Any valid JavaScript code
Bindable? NO
Product: ProfoundUI

Wiki Markup
{html}
<div class="pagebreak"/>
{html}

pui.dragDropInfo

Overview

pui.dragDropInfo is a global object containing information about the drag/drop operation. This object is available on the following events Ondrop, Ondragleave, Ondragstart, and Ondragenter.

Retrieving Data

You can retrieve data from the global object by placing a property value within the object. The object contains a number of properties, but the most useful are listed below.

For example:

Code Block
pui.dragDropInfo["target record number"]

Useful Properties

dd element id - This property returns the element id of the selected subfile record.

dd record number - Returns the relative record number of the selected element to drag/drop.

target element id - This returns the target element id of the where the selection is to be dropped.

target record number - This returns the relative record number of where the selection is after it has been dropped.