getColumn (NotesView - JavaScript)

Returns a specified column in a view.

Defined in

NotesView

Syntax

getColumn(columnNumber:int) : NotesViewColumn
Parameter Description
columnNumber A column number where 1 is the first column. Cannot be less than 1 or greater than the number of columns in the view.
Return value Description
NotesViewColumn The specified column.

Examples

This computed field displays the title of the first column of a view associated with the page.
return view1.getColumn(1).getTitle()