Copied to clipboard

Flag this post as spam?

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


  • RUSLAN LUNEV 5 posts 75 karma points
    Mar 01, 2016 @ 04:31
    RUSLAN LUNEV
    0

    Adding Grid Editor

    Hi, I am trying to add common File Upload control as new grid editor. Below is the code that I am adding to my grid.editor.config file

    {
            "name": "File Upload (new)",
            "alias": "gridFileUpload",              
            "view": "~/Umbraco/Views/propertyeditors/fileupload/fileupload.html",              
            "icon": "icon-movie",              
            "config":
            {
                "markup": "<div class='small-12 large-6 columns'>#value#</div>"
            }
    }
    

    The editor shows up  per pic below I can add the file but when I save it gives me to errors and the file path is not saved. Please help. I am probably missing a renderer I am just not how to refer it.

Please Sign in or register to post replies

Write your reply to:

Draft