Changed table view for a grid view.