How to Obtain Entire Datagrid Data as an Array?
var my_array =
jQuery("#data1").jqGrid("getRowData");
var my_data_row =
jQuery("#data1").jqGrid("getRowData",
3);
Sample content of my_data_row:
Object {
id
:
"3"
,
foo
:
"fa28c6cdf8dd6f41a657c3d7caa5c709"
,
bar1
:
"bar3xxx"
,
bar2
:
"bar3"
,
cost
:
"28"
…}