Where to store style info in a virtual grid?

If I have a virtual grid and want the user to be able to style the cells at runtime - where should the style info get stored? Should I keep track of those styles(ie HashMap) or is there a grid container to do this? Any info would be greatly appreciated.

Loader.
Up arrow icon