getSiblingCount (NotesXspViewEntry - JavaScript)

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

Defined in

NotesXspViewEntry (JavaScript)

Syntax

getSiblingCount() : int
Return value Description
int The sibling count for the column.

Usage

The sibling count includes the current entry unless it is a total.

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