getChildCount (NotesXspViewEntry - JavaScript)

Read-only. The number of immediate children belonging to the current view entry.

Defined in

NotesXspViewEntry (JavaScript)

Syntax

getChildCount() : int
Return value Description
int The child count for the column.

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();
}