Skip to content

Instantly share code, notes, and snippets.

@pokisin
Last active January 5, 2017 17:48
Show Gist options
  • Save pokisin/583a33b42acd0406b02b3a9c977ae2c8 to your computer and use it in GitHub Desktop.
Save pokisin/583a33b42acd0406b02b3a9c977ae2c8 to your computer and use it in GitHub Desktop.
Recuperar las filas seleccionadas en jqxGrid
function getALLROWSselected(id_grid){
var rowindexes = $('#'+id_grid).jqxGrid('getselectedrowindexes');
var allRow = new Array();
for (var i = 0; i < rowindexes.length; i++) {
var datarow = $('#'+id_grid).jqxGrid('getrowdata', rowindexes[i]);
allRow.push(datarow);
}
return allRow;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment