I have following code where in I want to display data from a Rest Doc Service into Dojo Data Grid. Output of Rest service is fine but Datagrid siplay displays the column titles and nothing else. Here is my code:
<xp:panel>
<xe:restService id="restService1" pathInfo="docAccReq1"
rendered="true" state="true">
<xe:this.service>
<xe:documentJsonService
contentType="application/json" systemItems="63" var="docAcc"
documentUnid="80EFAE936EA978A480257CE4002DBC67">
<xe:this.items>
<xe:restDocumentItem itemName="Name"
name="Name">
</xe:restDocumentItem>
<xe:restDocumentItem
itemName="ACCESSREQUESTER" name="ACCESSREQUESTER">
</xe:restDocumentItem>
<xe:restDocumentItem
itemName="ACCESSREQUESTEDDATE" name="ACCESSREQUESTEDDATE">
</xe:restDocumentItem>
</xe:this.items>
</xe:documentJsonService>
</xe:this.service>
</xe:restService>
<xe:djxDataGrid id="djxDataGrid1"
storeComponentId="restService1" store="docStore">
<xe:this.dojoAttributes>
<xp:dojoAttribute name="autoWidth" value="true"></xp:dojoAttribute>
</xe:this.dojoAttributes>
<xe:djxDataGridColumn id="djxDataGridColumn1"
field="Name">
</xe:djxDataGridColumn>
<xe:djxDataGridColumn id="djxDataGridColumn2"
field="ACCESSREQUESTER">
</xe:djxDataGridColumn>
<xe:djxDataGridColumn id="djxDataGridColumn3"
field="ACCESSREQUESTEDDATE">
</xe:djxDataGridColumn>
</xe:djxDataGrid>
<xe:firebugLite id="firebugLite1"></xe:firebugLite>
</xp:panel>
<xp:panel>
<xc:ccDebugToolbar defaultCollapsed="true"
collapseTo="left"></xc:ccDebugToolbar>
</xp:panel>