Try ERPNext Buy Support Partners Foundation

No option to show as grid for custom doctype

Hello,
I created a doctype in a custom app and module for erpnext. I am trying to create a web form to allow data entry.

However, I am unable to find the option to “Show as Grid”. I only have these options:
image

I also tried changing the .json file for the doctype but no luck.
Can someone help me, please?