tonytomov/jqGrid — pull request #381 by OlegKi (2012-11-08 11:20:22+00:00)
Title: Fixing wrong encodding of rowid in rowactions and optimizing the code of formatter actions

The current version of `$.fn.fmatter.rowactions` calls other jqGrid
methods like `editRow` with *encoded* rowid (unneeded call of `$.jgrid.jqID`) which is wrong. The suggested code fixs the problem.

Additionally the correct code places *fixed* values of `rowid` and `pos` (at the moment of filling of the grid data) in the cell attribute `onclick`. So the changes in the column order (with respect of `columnChooser`) or changing of `rowid` (`.attr("id",newRowId)`) follows to wrong `onclick` code.

I suggest to use `this` in the code of `onclick` and get all needed information from `this`.