I wrote this for somebody a while back. I don't remember for who.
Some silly string grid demo showing some key processing routines.

Source Code