RowIDs resetting in jqGrid,How to prevent it?


For some reason the rowIDs get reset once i do any any action from the pagination(increase the number of rows,move to next page etc)

for e.g i have 75records in total.Im displaying 15records at a time.In total i have 3 pages each can display 15records.When im in first page which is displaying that records from 1-15 i get rowIDs 1-15 for rows.Now when i move to next page which displays records from 16-30 i get the rowIDs 1-15 for rows.Here when i moved to new page where 16-30 records are being displayed i was expecting the rowIDs to be from 16-30 but they are not,they are from 1-15.Same thing happens when i do an action from pager to display 30 records at a time instead of 15(default).

I want rowID starting from 1 to n number of records instead of 1-15 for each page.Is there a way to do it? If yes than please help me out.thanks


Row Id will work this way because it generates dynamic Ids for your rows when your data is populated in the grid. This is the default behavior.

You can get a unique row Id if you set a Primary key. this way, you'll get the value of Primary key as row Id. Simply set key: true property of the column you want to set as primary key, in the colModel collection.


  • DateTime c# parsing
  • How to get javascript generated title tooltip for SVG to show up
  • what is difference between using concerns vs modules in rails?
  • Getting all nouns related to a verb in WordNet using JWNL
  • NSMutableURLRequest and redirection
  • add catalog product in wishlist programmatically in magento
  • How do I use applescript to get this checkmark clicked
  • Find the Current Week from Datetime.Now and How to find given Date between current week dates?
  • Sending EoS to filesink while removing branch from tee
  • Adding DateTimePicker to Userform
  • Disable Place Order button conditionally in Woocommerce
  • Select list scroll to a specific option element
  • Correct way to send X11 mouse events
  • How does `arguments.callee` refer to anonymous functions?
  • Xamarin.iOS Status Bar Disappears When Changing Its Text Color
  • Response.ContentType = “application/vnd.ms-excel” works in IE and firefox but not in Safari
  • Error when build LineageOS: “make: *** [ninja_wrapper] Error 1”
  • Weekday as String to number
  • Display standard razor/mvc 3 validation messages displayed in another language
  • Heroku Git Push Master Error
  • Returning local reference created by JNI from a native method
  • Linking with 32bit libraries under linux 64bit
  • how can i close the resultSet, prepareStatement, conn in several methods below to avoid rs close and
  • Turn Inline OnClick to Click Jquery
  • MVC3 Extension for ValidatorMessage
  • Spongycastle is missing many algorithms when loaded on android
  • Execute powershell script on a remote computer using C#
  • $this->a->b->c->d calling methods from a superclass in php
  • Node.js custom error handling
  • cSPADE data mining in R using arulesSequences - Error while converting to “transactions” format
  • playing mp3 from nsbundle
  • Request Access Token in Postman for Azure Function App protected by Azure AD B2C
  • Wireshark Display Filter for Unique Source/Destination IP and Protocol
  • ASP.NET MVC 2 actions for the same route?
  • concise way of flattening multiindex columns
  • Android: Unable to detect vertical plane
  • Google App Engine backend servlet not responding
  • What is the best way to cache and reuse immutable singleton objects in Java?
  • Make checkout phone field optional for specific countries in WooCommerce
  • Excel VBA : conditional formatting of sheet1 cells from sheet2 values in excel 2007