12.07.2015 Views

Using Zen Components - InterSystems Documentation

Using Zen Components - InterSystems Documentation

Using Zen Components - InterSystems Documentation

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Zen</strong> ControlsFigure 5–1: Data Model for the Dynamic Grid ControlIf there are pages in the , the gridLabel cell provides navigation information as follows. Click on the > symbol for the next page. The number indicates which page you are currently viewing:5.9.2 MethodsSince the dataSet object is designed to work on either the server or the client, it provides local APIs for both environments.The following table lists the server-side (ObjectScript) methods. For further details, and to see the list of client-side(JavaScript) methods, see the class documentation for %ZEN.Auxiliary.dataSet.Note:When you work with %ZEN.Component.dynaGrid programmatically, on the server side you can access the dataSetobject via the dataSet property of the dynaGrid object. On the client, you cannot access the dataSet directly; youmust the dynaGrid object’s getDataSet method to get the dataSet object.Server Method%Clear%GetArray%GetDimensionsDescriptionClear the contents of the dataSet (set every cell to "") without changing its size or numberof dimensions.Gets the contents of the dataSet as a multidimensional array, subscripted by the 1–baseddimensional addresses of the cells (row, column, page). This array is passed to%GetArray by reference.Returns the number of dimensions within the dataSet.142 <strong>Using</strong> <strong>Zen</strong> <strong>Components</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!