I have a jqGrid with multiselect:true. In a click event of a button I try to retrieve the ids like:
var ids = $('#myGrid').jqGrid('getGridParam', 'selarrrow');
However I only get ids to be filled with something if I select the top checkbox in the header. If I do not select that one in the header but select several checkboxes in the column ids has no selected ids in it. How to overcome this?
sellarrrow is according to this example written correctly: http://www.trirand.com/blog/jqgrid/jqgrid.html, select Advanced, Multiselect example.