Rewrite TOGrid to use an array as datastore.