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?

ZENTest.DynaViewTest

class ZENTest.DynaViewTest extends %ZEN.Component.page

dynaView Control Test

Method Inventory

Parameters

parameter APPLICATION = ZENTest.TestApplication;
Application this page belongs to.
parameter DOMAIN = ZENTEST;
Domain used for localization.
parameter PAGENAME = Dynamic View Control Test Page;
Inherited description: Optional. This is the display name used for this page. If not provided, the class name is used.

Methods

method GetViewContents(ByRef pParms As %String, Output pContents As %String, Output pHeaders As %String) as %Status
This callback determines the contents of the dynaView component. It is passed an array, pParms that contains a set of input parameters (values subscripted by name). These are defined by the parameter property of the dynaView component. On return, this method fills in two arrays:
pHeaders is an array of column headers (for multi-column display) subscripted by column number.
pContents is an array of item descriptions subscripted by item number. Each item is a $List containing:
textValue,logicalValue,icon, followed by any additional columns to be displayed in "details" mode.
clientmethod changeViewType(rs) [ Language = javascript ]
Change type of view
clientmethod refreshView() [ Language = javascript ]
Refresh contents of the view
clientmethod selectViewItem(ctrl) [ Language = javascript ]
new value of selected index
clientmethod viewChange(view) [ Language = javascript ]
view value has changed

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab