87,910
社区成员
发帖
与我相关
我的任务
分享
function subObjName(index,item){
if(item)
{
var subObj=store.getValue(item,"subObj");
return subObj.name;
}
}
<div dojoType="dojo.data.ItemFileReadStore" jsId="store" clearOnClose="true" ></div>
<table dojoType="dojox.grid.DataGrid" 其他属性略 >
<thead>
<tr>
<th field="name" width="200px">Name</th>
<th field="address" width="200px">Address</th>
<th get="subObjName" width="200px">subObjName</th>
</tr>
</thead>
</table>