Umbraco 9 - Hide/Remove Grid Editors from Grid Layout
Hello guys,
How can I hide or remove the "Headline" widget (or other editors) from the Grid Layout?
I know that in Umbraco 8 I can do that from /config/grid.editors.config.js, but what about Umbraco v.9?
More info on that subject in the Umbraco Docs. It's the very last sentence in that page you need "To override this behavior, uncheck the allow all editors option and you can specify which editors will be available for the row."
If you uncheck that you should be able to allow just the ones you need.
Umbraco 9 - Hide/Remove Grid Editors from Grid Layout
Hello guys,
How can I hide or remove the "Headline" widget (or other editors) from the Grid Layout? I know that in Umbraco 8 I can do that from /config/grid.editors.config.js, but what about Umbraco v.9?
Thanks, Lorenzo
You can edit the visible options for the grid in your datatype if you select the row configuration.
If you are using dtge, see this : https://github.com/skttl/umbraco-doc-type-grid-editor/blob/dev-v9/docs/developers-guide-v2.md
Hope this helps you
Gerty
Thanks Gerty,
Actually, there are no visible options for the datatype in the configuration about the blocks available in the grid.
I am using the native Grid Layout, no external packages.
Should I change/comment something in the code? Maybe a specific configuration file that contains Embed, Headline, Image, Quote, and RTE?
Thanks.
Lorenzo
HI Lorenzo, they should be there by default.
More info on that subject in the Umbraco Docs. It's the very last sentence in that page you need "To override this behavior, uncheck the allow all editors option and you can specify which editors will be available for the row." If you uncheck that you should be able to allow just the ones you need.
Thank you very much. I did not click on the cell and I did not notice the options.
Lorenzo
is working on a reply...