Your answer is correct, but I want to point out that there is no need to provide an instance of the GridView instance to override getRowClass. Use the GridPanel instead viewConfig:
viewConfig: {
getRowClass: function(rec, idx, rowPrms, ds) {
return rec.data.isRead === false ? 'ph-bold-row' : '';
}
}
source
share