It is possible to add a CSS class to a jqGrid cell using the setCell method as below.
grid.setCell(rowId, \"ColumnName\", \"\", \"my-style-class\"); <
grid.setCell(rowId, \"ColumnName\", \"\", \"my-style-class\");
One can easily add new class to a cell by removing the old class as:
$("#gridname").removeClass('oldclass') .setCell(rowId,'column_name','','newclass');
Where rowId is id of the row containing corresponding cell and can be obtained as:
rowId
var ids = $("#gridname").jqGrid('getDataIDs');