djxDataGridColumn - Dojo Data Grid Column
Defines the content of a column. Can be inserted into a grid or row.
Category
Dojo Grid ControlsSyntax
<xe:djxDataGridColumn attributes>content</xe:djxDataGridColumn>
Usage
This control is not tested against the latest accessibility standards. The recommended accessible path is the Data Table control.Examples
This example uses a REST service to get column values from a Domino(r)® view and presents the values in a grid with one column.<xp:this.data>
<xp:dominoView var="view1" viewName="subject"></xp:dominoView>
</xp:this.data>
<xp:panel>
<xe:restService id="restService1">
<xe:this.service>
<xe:viewItemFileService viewName="subject" var="entry"
defaultColumns="true" contentType="application/json">
<xe:this.columns>
<xe:restViewColumn columnName="subject"
name="subject">
<xe:this.value><![CDATA[#{javascript:return entry.getColumnValue("subject")}]]></xe:this.value>
</xe:restViewColumn>
</xe:this.columns>
</xe:viewItemFileService>
</xe:this.service>
</xe:restService>
<xp:br></xp:br>
<xe:djxDataGrid id="djxDataGrid1"
storeComponentId="restService1">
<xe:djxDataGridColumn id="djxDataGridColumn1"
field="subject" editable="true">
</xe:djxDataGridColumn>
</xe:djxDataGrid>
</xp:panel>