          //modify the selarrrow parameter         grid[0].p.selarrrow = grid.find("tr.jqgrow:has(td > input.cbox:checked)")             .map(function() { return this.id; }) // convert to set of ids             .get(); // convert to instance of Array         