getJavaColumnValues (NotesXspViewEntry - JavaScript™)
Gets the value of each column in the view entry.
Defined in
NotesXspViewEntry (JavaScript)Syntax
getJavaColumnValues() : java.util.Vector
Return value | Description |
---|---|
java.util.Vector |
The value of each column. The data types depend on the values. |
Usage
A column value is not returned if it is determined by a formula containing a UI-only function such as@IsExpandable
or @DocNumber
.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 isrowdata
. The script gets the values of columns
depending on whether they are categories, totals, or documents.try {
if (rowdata.isCategory()) {
return rowdata.getPosition(",") + " = " + rowdata.getJavaColumnValues().elementAt(0) + "\n"
} else if(rowdata.isTotal()) {
return rowdata.getPosition(",") + " = " + rowdata.getJavaColumnValues().elementAt(2).toString() + "\n"
} else if (rowdata.isDocument()) {
return rowdata.getPosition(",") + " = " + rowdata.getJavaColumnValues().elementAt(1) + "\n"
}
} catch (e) {
return e.toString();
}