Copied to clipboard

Flag this post as spam?

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


  • Lesley 107 posts 349 karma points
    Mar 14, 2018 @ 03:24
    Lesley
    0

    Error: 'Our.Umbraco.DocTypeGridEditor.GridEditors.DocTypeGridEditor' is not a function

    I'm trying to implement Doc Type Grid Editor but getting

    Argument 'Our.Umbraco.DocTypeGridEditor.GridEditors.DocTypeGridEditor' is not a function, got undefined
    

    when trying to add DocType control within grid editor.

    I only have one content type specified in the config file.

    The DocType control appears in the INSERT CONTROL popup, but after selecting it, I don't get a side panel with field for editing content.

    I'm using latest Umbraco version.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Mar 14, 2018 @ 09:21
    Lee Kelleher
    0

    Hi Lesley, thanks for raising this.

    The error suggests that the JavaScript file for DTGE hasn't been loaded in.

    Could you confirm if the file "App_Plugins/DocTypeGridEditor/Js/doctypegrideditor.controllers.js" exists?

    Thanks,
    - Lee

  • Lesley 107 posts 349 karma points
    Mar 14, 2018 @ 18:24
    Lesley
    0

    Yes that file is there.

    Is there a configuration step that I have missed? I copied the grid.editors.config.js snippet into the main grid.editors.config.js file.

    Is there anything else I need to do in terms of setup?

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Mar 15, 2018 @ 09:39
    Lee Kelleher
    0

    Hi Lesley,

    OK, good that the file is there, but not good about the error.

    In terms of set-up, I guess it's make sure that all the ""App_Plugins/DocTypeGridEditor/" files are there - especially the "package.manifest" one.

    Are you getting any other errors in your browser's developer console (F12)?

    Thanks,
    - Lee

Please Sign in or register to post replies

Write your reply to:

Draft