easyui 处理多行的操作基础

  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,处理多行的操作基础)