columnName - Column Name
Specifies the name of the underlying view column in the data source.
Category
basicsSyntax
columnName="name"
Where name
matches
a column name in the data source.Usage
In Design mode, click the Data tab under Properties and look for View column, or click All Properties and look for columnName under basics.At tun time, the parent view column presents the data from the underlying column in the data source.
Specifying a value that does not match the name of a column in the data source causes an error at run time.
Examples
This View control contains two columns based on thesubject
and fruit
columns
in the data source.<xp:viewPanel rows="30" id="viewPanel1">
<xp:this.facets>
<xp:pager partialRefresh="true" layout="Previous Group Next"
xp:key="headerPager" id="pager1">
</xp:pager>
</xp:this.facets>
<xp:this.data>
<xp:dominoView var="view2" viewName="main"></xp:dominoView>
</xp:this.data>
<xp:viewColumn columnName="subject" id="viewColumn1">
<xp:viewColumnHeader value="subject" id="viewColumnHeader1"></xp:viewColumnHeader>
</xp:viewColumn>
<xp:viewColumn columnName="fruit" id="viewColumn2">
<xp:viewColumnHeader value="fruit" id="viewColumnHeader2"></xp:viewColumnHeader>
</xp:viewColumn>
</xp:viewPanel>