Rows and cells can be assigned css classes in the JSON data directly using pq_rowcls and pq_cellcls in local or remote data.
Classes can also be programmatically manipulated using pqGrid
API methods addClass, removeClass, hasClass and getRowsByClass.
Pitfall: Don't use jQuery addClass to add classes in pqGrid as they don't persist when view is refreshed.