Here’s the sample colModel configuration from Craig’s link to jqGrid formatting help. It specifies the formatter as showLink and the url and params are specified with formatoptions.
colModel: [ {name:'myname',
edittype:'select',
formatter:'showlink',
formatoptions:{baseLinkUrl:'someurl.php', addParam: '&action=edit'}