How do you get all of the ids across the pages with loadonce:true
and datatype:json
in a jqGrid?
How do you get all of the ids across the pages with loadonce:true
and datatype:json
in a jqGrid?
You can use the data
option to retrieve the grid data directly:
myGrid.jqGrid('getGridParam', 'data');
Then you would need to iterate over data
to retrieve each of your ID's.