首页 > 其他 > 详细

EasyUI datagrid.getSelections 没有返回正确的选择行数

时间:2017-10-25 11:03:29      阅读:359      评论:0      收藏:0      [点我收藏+]

Actually i solved the problem. It was because the idField of the table i was using was incorrect. 

it appears that the getSelections uses the idField property so you need to make sure that the idField is actually the same as the one passed in the json data.

 每一行的 idField属性的值必须不一样,最好使用数据库主键

 

参考地址:

http://www.jeasyui.com/forum/index.php?topic=401.0

EasyUI datagrid.getSelections 没有返回正确的选择行数

原文:http://www.cnblogs.com/tangchun/p/7727409.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!