adding context styling to grid events