Probably you can use unobtrusive links in the column (see this and this answers). The advantage of this technique is that instead of typical links you can define any custom action on click on the link. The look of the link can be defined by CSS, but it seems to the that the link can show the user better as other HTML elements, that the user can click on it.
Alternative you can use a button in the column with respect of the custom formatter, but with the same technique as described before you can free define which action will be done on the click.
Inside of the click event with the parameter 'e' you have e.currentTarget
as the DOM element of <a>
for the link or <input>
or <button>
if you use buttons in the grid column. To find the row id you can use var row = $(e.currentTarget).closest("tr.jqgrow")
or var row = $(e.target).closest("tr.jqgrow")
to find the <tr>
element. The row id will be row[0].id
.