Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COThanks a lot for that Oleg, the first part of the problem is resolved. And I have followed your advice to use $("#list").jqGrid("getGridParam", "data") however I am getting a value of _id_":"1" in my json string not sure where it is coming from [{"idCasePackOptions":3,"cypharecommended":2,"distributorapproved":1,"height":11,"length":11,"statuscode":1,"weight":11,"width":11,"_id_":"1"}] Is there any disadvantages of using jQuery("#list").getRowData() ? I have also added loadonce: true so that once I get the data in the grid it will be local paging.
      singulars
    2. CO@rsingh: You are welcome! You don't posted the grid definition which you use. So it's difficult to give you recommendations. If you use `datatype: 'local'` or any other with exception `datatype: 'json'` (or 'xml') and not use `loadonce: true` the way with `.jqGrid("getGridParam", "data")` is better because it get the data from *all pages*. Only in case of pure remote data you have to use `getRowData`. If you get wrong `id` values then the typical reason is **wrong filling** of the grid. If you has correct `id` in some column you can add `key: true` property to the column to fix the problem.
      singulars
    3. COThis is now working now I have added subgrids successfully is it possible to post all the data of the main and subgrid. Have you got any examples for this? How to post this onetomany data? My question with code is here http://stackoverflow.com/questions/12469690/jqgrid-subgrid-post-all-data-to-server. Any help will be greatly appreciated thanks oleg
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload