Position (NotesViewColumn - JavaScript)

Read-only. The position of a column in its view. Columns are numbered from left to right, starting with 1.

Defined in

NotesViewColumn

Syntax

getPosition() : int

Usage

The Columns property in NotesView returns a vector of ViewColumn objects. The vector is zero-based, so the first element in the vector is element 0 and contains the ViewColumn at position 1. The second element in the vector is element 1 and contains the ViewColumn at position 2, and so on. Remember to add one to the vector index to get the correct position value.