I\'m trying to get the page number as a parameter when the next button is clicked.
I\'m trying to achieve it using the below code:
pgButton is a String. You should write if (pgButton == "next"). See: http://www.trirand.com/jqgridwiki/doku.php?id=wiki:pager#events
pgButton
String
if (pgButton == "next")