getChildCount (NotesXspViewEntry - JavaScript)

読み取り専用。現在のビューエントリに属する直下の子の数。

定義場所

NotesXspViewEntry (JavaScript)

構文

getChildCount() : int
戻り値 説明
int 列の子の数。

複数行編集ボックスのこのデータバインディングスクリプトは、コレクション名が rowdata の Domino® ビューデータソースを使用する繰り返しコントロールに埋め込まれます。スクリプトは、各ビュー行の情報を取得します。
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();
}