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.CustomDataDragDrop

class ZENDemo.CustomDataDragDrop extends %ZEN.Component.page

Example of how to program custom data drag drop behavior into Zen controls

Method Inventory

Parameters

parameter APPLICATION = ZENDemo.Application;
Application this page belongs to.
parameter DOMAIN = ZENDEMO;
Domain used for localization.
parameter PAGENAME = Custom Data Drag Drop;
Inherited description: Optional. This is the display name used for this page. If not provided, the class name is used.

Methods

method CreateDataSet(pGrid As %ZEN.Component.dynaGrid, pDataSet As %ZEN.Auxiliary.dataSet) as %Status
Server-side callback to provide data for the upper dynaGrid.
classmethod GetNewDataSet(pGrid As %ZEN.Component.dynaGrid, pMode As %String = "") [ ZenMethod ]
Get a new dataset from the server.
clientmethod calcCellChange(grid) [ Language = javascript ]
cellChange: called when cell is changed
clientmethod calcCellDraw(grid, data) [ Language = javascript ]
cellDraw: called when cell is about to be drawn in dynaGrid
clientmethod clearGrid() [ Language = javascript ]
Clear contents of the upper grid
clientmethod refreshGrid() [ Language = javascript ]
Get new values for the upper grid from the server.
clientmethod setCellFromDrop(dragData) [ Language = javascript ]
clientmethod setDragData(dragData) [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab