撑满页面的CURD中的grid的json数据格式是怎么样的,我之前用我返回的数据可以在grid中显示,但是用撑满页面的CURD中的grid就报json is error,是不是数据格式不一样?我的数据格式如下:
"{total:16,data:[{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}," +
"{loginname:\"heizi\",name:\"111\",gender:\"scb\",salary:\"2222\"}" +
"]}";
|