Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

ZENDemo.DragAndDropDemo

class ZENDemo.DragAndDropDemo extends %ZEN.Component.page

This is the Drag-and-Drop Demonstration page for the Zen demonstration application.

Method Inventory

Parameters

parameter APPLICATION = ZENDemo.Application;
Class name of application this page belongs to.
parameter DOMAIN = ZENDEMO;
Domain used for localization.
parameter PAGENAME = Drag and Drop Demo;
Displayed name of this page.

Methods

Return an array of quick links to be displayed by the locator bar.
clientmethod afterDrag(listBox, dragData) [ Language = javascript ]
This method is called after a drag operation is completed. comp is the component on which the drag started. dragData is an object containing details about the drag operation.
dragData has the following properties:

dragData.value - logical value of the drag data.
dragData.text - display value of the drag data.
dragData.sourceComponent - Zen component in which the drag started.
dragData.targetComponent - Zen component in which the drop occurred.
dragData.sourceItem - Component-specific value indicating where the drag started within the source.
dragData.targetItem - Component-specific value indicating where the drop occurred within the target.
dragData.sourceMeta - Arbitrary value set by the drag source.
dragData.targetMeta - Arbitrary value set by the drop target.
clientmethod updatePriorities() [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab