Add grid show and hide to grid object.