Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to get the rowID in jqGrid is data based on the data in the column?
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    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. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COYou should include JavaScript code which shows how you fill the data. Because the data in the grid exists not always and the data will be changed (on loading, on sorting and so on) one speak typically about rowid **only inside of callbacks or events of jqGrid**. You wrote that you need "to get the rowID". It's important to knoq *what you need to do with the rowid?* Do you need make some modifications of style of the rows? If you just need analyse the data then you can do this *on the server side* and not in jqGrid. So more details required to be able to help you.
      singulars
    2. COi found a workaround this issue.But now im experiencing new problem and its that initially im displaying only 15rows per page(here rowIDs ranges from 1-15),now when the use increases the numbers of rows using pagination or if user goes to page#2 the rowIDs should range from 16-30 and not 1-15.For e.eg if user chose to to move to next page where another 15 records are shown.here i expect the rowIDs to range from 16-30.But the problem is that rowID still ranges from 1-15 and whatever logic i tend to implement based on rowID fails.Please help thanks
      singulars
    3. CO**You have to post the JavaScript code which you use inclusive the test data which you use** (two rows of data would be enough). The problem is that the `rowid` is **not the same as the row index**. You have to include rowid in you data. If you on't do this jqGrid have to generate ids for rows. The current version use numbers like 1, 2, 3, ... in the case.
      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