Columns (NotesView - JavaScript)

Read-only. The columns in a view.

Defined in

NotesView

Syntax

getColumns() : java.util.Vector

Usage

Each vector element is of type NotesViewColumn.

The order of objects in the vector corresponds to the order of the columns in the view, from left to right.

Examples

This button gets the position and title of each column in a view.
var v:NotesView = database.getView("main");
var columns = v.getColumns().iterator();
while (columns.hasNext()) {
	var column:NotesViewColumn = columns.next();
	requestScope.status += "\n" +
		column.getPosition().toFixed() + " = " + column.getTitle();
}