Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Denis 25 posts 267 karma points
    Aug 12, 2016 @ 06:20
    Denis
    0

    Overriding existing grid editor

    Hello!

    How can I override existing grid editor without modification grid.editors.config.js?

    Thanks.

  • Alex Skrypnyk 6162 posts 24132 karma points MVP 8x admin c-trib
    Aug 16, 2016 @ 16:25
    Alex Skrypnyk
    100

    Hi Denis,

    Welcome to our forum!

    What do you want to do with grid?

    Do you want to add new grid editors?

    It is recommended that you define custom editors in a package.manifest file (not in the config file) like so:

    {
        "gridEditors": 
        [
            {
                "name": "Rich text editor",
                "alias": "rte",
                "view": "rte",
                "icon": "icon-article"
            }
        ]
    }
    

    The package manifest should be placed in a folder inside the /App_Plugins/ folder. You can define as many grid editors you want and it can be done over multiple manifests so you can use grid editors from packages etc.

    Read more:

    https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/grid-layout/grid-editors

    Thanks,

    Oleksandr

Please Sign in or register to post replies

Write your reply to:

Draft