5 Answers
Pasting from FAQ,
Q) I need send POST with checked row to another file.
You can have this work in javascript.
// returns null if no row is selected OR id of row (single row)
var selr = jQuery('#list1').jqGrid('getGridParam','selrow');
// return array of id's of the selected rows when multiselect options is true. Empty array if not selection
var selr = jQuery('#list1').jqGrid('getGridParam','selarrrow');
You can get selected IDs from above functions (where list1 is grid ID) and pass to other page using JS code.
Sorry for my question but… can I see an example?
Should be something like:
var selr = jQuery('#list1').jqGrid('getGridParam','selrow');
window.location = "page2.php?" + valueID
Thanks
Your Answer