Copied to clipboard

Flag this post as spam?

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


  • Steve Morgan 1348 posts 4457 karma points c-trib
    Dec 15, 2014 @ 17:09
    Steve Morgan
    0

    Access config settings from Custom Grid Property Editor in Angular

    Hi,

    Sure i'm missing something obvious... if I create a config item in the grid.editors.config.js file how do I access it in the Angular js / HTML? I tried $scope.model.config.mysetting but it's blank, outputting $scope.model doesn't show this config but seemingly something else!

    In the accompanying Razor it's accessible via  @Model.editor.config.mysetting which is very useful - but is this grid.editors.config.js file just for output settings?

    Steve

     

Please Sign in or register to post replies

Write your reply to:

Draft