jQuery easyui-datagrid 绑定json数据的问题,后台获取到了json格式的数据,下面是后台输出的json格式数据

[{"total":25,"success":true,"rows":[{"ajaxResMsg":"","createDate":"2013","description... [{"total":25,"success":true,"rows":[{"ajaxResMsg":"","createDate":"2013","description":"","levelNO":2,"levelName":"ss","modifyDate":"2014","operators":[],"parentNO":0,"relAuthLevels":[],"visible":0}]
怎么在前台数据就是不显示,这是什么问题啊?
展开
 我来答
飞冰鱼1
2015-01-10 · TA获得超过147个赞
知道小有建树答主
回答量:296
采纳率:80%
帮助的人:147万
展开全部
{"total":25,"success":true,"rows":[{"ajaxResMsg":"","createDate":"2013","description":"","levelNO":2,"levelName":"ss","modifyDate":"2014","operators":[],"parentNO":0,"relAuthLevels":[],"visible":0}

不要最外层的[];
追问
这个[]是直接通过json对象的方法转化而来的,该怎么取消啊
追答
你什么 转化的, 后台不好改 ,那你 前台获取数据 时 取 假设是data  那就用 data[0] 即可
wxh4360
2015-01-10 · 超过34用户采纳过TA的回答
知道答主
回答量:54
采纳率:0%
帮助的人:68.3万
展开全部
JSON格式不对吧
更多追问追答
追问
格式不是这样吗,那是怎么样的?我是直接用JSONArray这个类转换的
追答
[{"total":25,"success":true,"rows":[{"ajaxResMsg":"","createDate":"2013","description":"","levelNO":2,"levelName":"ss","modifyDate":"2014","operators":[],"parentNO":0,"relAuthLevels":[],"visible":0}]

这段肯定是不对的后面再加个}]

[{"total":25,"success":true,"rows":[{"ajaxResMsg":"","createDate":"2013","description":"","levelNO":2,"levelName":"ss","modifyDate":"2014","operators":[],"parentNO":0,"relAuthLevels":[],"visible":0}]}]
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式