jQuery MiniUI

 找回密码
 立即注册
查看: 2130|回复: 2
打印 上一主题 下一主题

关于datagrid,菜鸟不这么会用啊··· [复制链接]

Rank: 1

跳转到指定楼层
楼主
发表于 2015-1-15 20:34:09 |只看该作者 |倒序浏览

为什么下面是0/0然后是共0条?不是我已经传了数据给它吗?API里没写前台需要什么样的数据
我传给它这样的数据
{"data":[{"ID":"0","Name":"sas","Age":"11"},{"ID":"12","Name":"ds","Age":"53"},{"ID":"6","Name":"ds","Age":"1"},{"ID":"1","Name":"ddw","Age":"32"},{"ID":"9","Name":"dds","Age":"11"},{"ID":"7","Name":"dd","Age":"23"},{"ID":"2","Name":"c","Age":"22"},{"ID":"5","Name":"5","Age":"5"},{"ID":"4","Name":"4","Age":"4"},{"ID":"11","Name":"3dd","Age":"45"}],"totle":22}
为什么最后的totle没用
附件: 你需要登录才可以下载或查看附件。没有帐号?立即注册

Rank: 8Rank: 8

沙发
发表于 2015-1-16 09:35:28 |只看该作者
total?

Rank: 1

板凳
发表于 2015-1-16 15:19:11 |只看该作者
dforce 发表于 2015-1-16 09:35
total?

手残了,我已经醉了···

Archiver|普加软件

GMT+8, 2024-11-5 05:36 , Processed in 1.020405 second(s), 11 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部