set row class for ok and warning events