Technical Developer
Tuesday, September 9, 2014
The method in this example returns the id of the selected rows
var selectedrows = $("#grid").jqGrid('getGridParam','selarrrow');
if(selectedrows.length) {
for(var i=0;i<selectedrows.length; i++) {
var selecteddatais = $("#grid").jqGrid('getRowData',selectedrows[i]);
// do what you want here
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment