GetColumnName Function (HtmlTable)

Class

HtmlTable.

Action

Returns the name of a specified column in a table.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

sName = table.GetColumnName (Column)
Variable Description
sName The name of the column. STRING.
Column The column. TABLECOL.

Notes

The GetColumnName method returns the text of the column's heading. If the column does not have a heading, GetColumnName returns the empty string ("").

Example

This example uses the table on the Online Catalog page of the GMO Web application.

Print(CatalogPage.CatalogTable.GetColumnName(2))

// Result:
// Item Name