ColumnValues (NotesViewEntry - JavaScript)

Read-only. The value of each column in the view entry.

Defined in

NotesViewEntry

Syntax

getColumnValues() : java.util.Vector

Usage

A column value is not returned if it is determined by:
  • A formula containing a UI-only function such as @IsExpandable or @DocNumber.
  • A constant.

Examples

This button gets the first-column value and child count for the top-level entries in a view excluding the total.
var nav:NotesViewNavigator = database.getView("By category").createViewNav();
var entry:NotesViewEntry = nav.getFirst();
while (entry != null && !entry.isTotal()) {
	requestScope.status += "\n" +
	entry.getPosition(".") + " " +
	entry.getColumnValues().firstElement().toString() + " has" +
	entry.getChildCount().toFixed() + " immediate entries";
	var tmpentry:NotesViewEntry = nav.getNextSibling(entry);
	entry.recycle();
	entry = tmpentry;
}