var $grid = $("#grid"),
var dataFromTheRow = jQuery('#grid').jqGrid ('getRowData', rowId);
Tried this but no luck.
As commented before rowId should be valid - i.e row with this id should exists. If you do not know the id of the rows you can use the method getDataIDs to see all the available id of the rows