grid enum handling