This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

ZENTest.DynaGridTest

class ZENTest.DynaGridTest extends %ZEN.Component.page

Test of dynaGrid component.

Method Inventory

Parameters

parameter APPLICATION = ZENTest.TestApplication;
Application this page belongs to.
parameter DOMAIN = ZENTEST;
Domain used for localization.
parameter PAGENAME = Dynamic Grid Test Page;
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 dynaGrid.
classmethod GetNewDataSet(pGrid As %ZEN.Component.dynaGrid, pMode As %String = "") [ ZenMethod ]
Get a new dataset from the server.
clientmethod addColumn() [ Language = javascript ]
Add a column to the grid
clientmethod addPage() [ Language = javascript ]
Add a page to the grid
clientmethod addRow() [ Language = javascript ]
Add a row to the grid
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 cellChange(grid) [ Language = javascript ]
cellChange: called when cell is changed in dynaGrid
clientmethod cellEdit(grid) [ Language = javascript ]
cellEdit: called when cell is about to be edited in dynaGrid
clientmethod clearGrid() [ Language = javascript ]
Clear contents of the grid
clientmethod columnClick(column) [ Language = javascript ]
click on column label
clientmethod hideCells() [ Language = javascript ]
Show/hide cells in table
clientmethod move(type, dir) [ Language = javascript ]
Move current row or column in the grid. type is 'row'|'col', dir is +1,-1
clientmethod nextPage() [ Language = javascript ]
clientmethod refreshGrid() [ Language = javascript ]
Get new values for the grid from the server.
clientmethod rowClick(row) [ Language = javascript ]
click on row label

Inherited Members

Inherited Properties

Inherited Methods

Feedback