【发布时间】:2011-07-03 12:20:55
【问题描述】:
我有这种格式的 JSON 数据:
var jsonData = [{date:'August 19, 2004',open:100.01,high:104.06},{date:'August 19, 2004',open:100.01,high:104.06},{date:'August 19, 2004',open:100.01,high:104.06}];
如何在我的 Dojox.grid.DataGrid 中打印这些数据
<body class=" claro ">
<span dojoType="dojo.data.ItemFileReadStore" jsId="store1" url="data.json">
</span>
<table dojoType="dojox.grid.DataGrid" store="store1"
style="width: 100%; height: 100%;">
<thead>
<tr>
<th width="150px" >
Title of Movie
</th>
<th width="150px">
Year
</th>
<th width="150px" >
Producer
</th>
</tr>
</thead>
</table>
</body>
【问题讨论】:
-
我不明白这个问题..请清除它。
标签: dojo