getColumnIndentLevel (NotesXspViewEntry - JavaScript)

Read-only. The indent level of a view entry within its column.

Defined in

NotesXspViewEntry (JavaScript)

Syntax

getColumnIndentLevel() : int
Return value Description
int The indent level of the column.

Usage

This property is useful for determining the response level of a document. Main documents are always at indent level 0, response documents at indent level 1, and so on.

Examples

This data binding script for a Multiline Edit Box is embedded in a Repeat control with a Domino® view data source whose collection name is rowdata. The script gets information about each view row.
try {
	return rowdata.getPosition(",").toString() +
	"   indent level = " + rowdata.getIndentLevel().toFixed() +
	"   column indent level = " + rowdata.getColumnIndentLevel().toFixed() +
	"   sibling count = " + rowdata.getSiblingCount().toFixed() +
	"   child count = " + rowdata.getChildCount().toFixed() +
	"   descendant count = " + rowdata.getDescendantCount().toFixed() +
	"\n"
} catch (e) {
	return e.toString();
}