后台传过来的JSON数据里的date传到前台的时候显示的是【Object object】 请问怎么解决
<table id="dg" title="已提交申请" style="width:700px;height:300px"
data-options="rownumbers:true,singleSelect:true,pagination:true,url:'vacate_list.action',method:'get'">
<thead>
<tr>
<th data-options="field:'vaID',width:80,align:'center'">序号</th>
<th data-options="field:'umName',width:100,align:'center'">申请人</th>
<th data-options="field:'vaBeginDate',width:100,align:'center'">开始时间</th>
<th data-options="field:'vaEndDate',width:100,align:'center'">结束时间</th>
<th data-options="field:'vaState',width:60,align:'center'">状态</th>
</tr>
</thead>
</table>
data-options="rownumbers:true,singleSelect:true,pagination:true,url:'vacate_list.action',method:'get'">
<thead>
<tr>
<th data-options="field:'vaID',width:80,align:'center'">序号</th>
<th data-options="field:'umName',width:100,align:'center'">申请人</th>
<th data-options="field:'vaBeginDate',width:100,align:'center'">开始时间</th>
<th data-options="field:'vaEndDate',width:100,align:'center'">结束时间</th>
<th data-options="field:'vaState',width:60,align:'center'">状态</th>
</tr>
</thead>
</table>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
jquery.parseJSON(...)
回复
那就百度一下,fomatter里面的row和value指什么!
使用formatter啊。。。。。