Dynamic Creation of a Custom Grid