Hi,
I think it is not necessary to post my code.
on the demo page (http://www.trirand.com/jqgrid35/jqgrid.html
Live Data Manipulation\Navigator) click “Add new row button” (remember caption, it is “Add record”), then click “Edit selected row” button and caption remains “Add record”.
refresh page, and do same actions, but first click “Edit selected row”, then “add”
caption will be “Edit record” in both cases