首页 > 其他 > 详细

easyui 处理多行的操作基础

时间:2015-11-09 14:05:43      阅读:186      评论:0      收藏:0      [点我收藏+]
  1. singleSelect="true"

    在tabble中不能存在此句

  2. var rows = $(‘#ttt‘).datagrid(‘getSelections‘);

    获得所有行

  3. for(var index=0; index<rows.length; index++){

    var dataInfo={};

    dataInfo.id = rows[index].id;

    dataInfo.name=rows[index].name;

    分别对所有行进行操作。

easyui 处理多行的操作基础

原文:http://8942041.blog.51cto.com/8932041/1710935

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