gmslDataTableClass
- Mark Juras
Owned by Mark Juras
The Datatable Service Class
The class DataTable uses the Write class to produce structured tabular reports using the content of the runtime data queue. The reports themselves can be produced in one of three outputStyles: simple tab delimited, text tabular, or html tabular.DataTable.ClearBottom Method
gmSL: void ClearBottom();<Method id="ClearBottom" type="void" opcode="SCM.DataTable_ClearBottom" />
DataTable.DefineColumn Method
gmSL: void DefineColumn(string heading, int width);<Method id="DefineColumn" type="void" opcode="SCM.DataTable_DefineColumn" > <Argument id="heading" type="String" status="ByVal" /> <Argument id="width" type="Integer" status="ByVal" /> </Method>
Width | Meaning |
+n | Right justify the characters in a cell n characters wide. |
-n | Left justify the characters in a cell n characters wide. |
hese values are actually only used when the Output Syntax is Text; however, ince this syntax choice does not take effect until runtime, the values should always be upplied with reasonable values. n each call to this method the parameter heading supplies the heading for the next olumn and the parameter width supplies the width for the next column.
DataTable.SetBottom Method
gmSL: void SetBottom();Method id="SetBottom" type="void" opcode="SCM.DataTable_SetBottom" />
DataTable.WriteCell Method
gmSL: void WriteCell();Method id="WriteCell" type="void" opcode="SCM.DataTable_WriteCell" />
DataTable.WriteClose Method
gmSL: void WriteClose();Method id="WriteClose" type="void" opcode="SCM.DataTable_WriteClose" />
DataTable.WriteEnd Method
gmSL: void WriteEnd();Method id="WriteEnd" type="void" opcode="SCM.DataTable_WriteEnd" />
DataTable.WriteHeadings Method
gmSL: void WriteHeadings(); |X | The method DataTable.WriteHeadings writes a column heading to the currently active tabular display using the table style specified when the table display was started. The heading and their desired widths themselves are stored in the runtime data queue via the method DataTable.DefineColumn.DataTable.WriteOpen Method
gmSL: void WriteOpen();Method id="WriteOpen" type="void" opcode="SCM.DataTable_WriteOpen" />
DataTable.WriteRow Method
gmSL: void WriteRow();method id="WriteRow" type="void" opcode="SCM.DataTable_WriteRow" />
DataTable.WriteTitle Method
gmSL: void WriteTitle();method id="WriteTitle" type="void" opcode="SCM.DataTable_WriteTitle" />
Table of Contents