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

Posted York

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了EasyUI datagrid.getSelections 没有返回正确的选择行数相关的知识,希望对你有一定的参考价值。

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 没有返回正确的选择行数的主要内容,如果未能解决你的问题,请参考以下文章

表单(上)EasyUI Form 表单EasyUI Validatebox 验证框EasyUI Combobox 组合框EasyUI Combo 组合EasyUI Combotree 组合树((代码片

Easyui的easyui-filebox有人知道是不是支持 多文件上传吗?

easyui 初始easyui

Easyui的easyui-filebox支持多文件上传吗?

easyui combobox怎么用

easyui iconcls都有哪些