The are three main types of methods used in jqGrid:
$("#grid").jqGrid("setHeight", 200); or like $("#grid").setHeight(200);$("#grid")[0].triggerToolbar();$.jgrid or $.fmatter object.
An example of usage looks like $.jgrid.jqID(id) or $.fmatter.NumberFormat(num, format).
Some from the static methods need be called with this initialied to the DOM of the grid.
For example, var $td = $.jgrid.getDataFieldOfCell.call($("#grid")[0], tr, iCol);