如下:rowids中最终的数据就是多选行的rowid
var dataTables = this.comp("dataTables1"); var rows = dataTables.getCheckeds(); var rowids = []; for (var i = 0; i < rows.length; i++) { rowids.push(rows[i].getID()) ; }
如下:rowids中最终的数据就是多选行的rowid
var dataTables = this.comp("dataTables1"); var rows = dataTables.getCheckeds(); var rowids = []; for (var i = 0; i < rows.length; i++) { rowids.push(rows[i].getID()) ; }
评一波