add row classes to the event