标签:str strong col size 使用 添加 stat style span
tid = table.checkStatus(‘test‘).data;  //获取选中的value   test:table的id
// 循环添加到新的数组存起来
for(var i=0; i<tid.length;i++){
   tidArr.push(tid[i].tid);
}
tabel开启checkbox
,cols: [
                [
                    {type:‘checkbox‘}
                    ,{field:‘real_name‘, title: ‘姓名‘,sort: true}
                    ,{field:‘sex‘, title: ‘性别‘}
                    ,{field:‘phone‘, title: ‘手机号‘,sort: true}
                ]
            ]
标签:str strong col size 使用 添加 stat style span
原文地址:https://www.cnblogs.com/coder1013/p/12880134.html