Ng-bind-html not working

Posted by: arulventhan.palanimuthu on 7 June 2018, 9:17 pm EST

    • Post Options:
    • Link

    Posted 7 June 2018, 9:17 pm EST

    hi,

    i try to use command ng-bind-html on presenter, But it not working for me.

  • Posted 10 June 2018, 8:56 pm EST

    Hi Arul,

    I am not sure how exactly you have used that command for presenter. Please make sure that you have included “angular-sanitize.js” module in your application.

    Please provide me your sample application, I will check if the presenter can be bound as an HTML element.

    Thanks,

    Deepak Sharma

  • Posted 11 June 2018, 10:14 pm EST

    Hi Deepak Sharma,

    The "angular-sanitize.js" module was include in my application.
    

    My presenter code as follows,

    var _dbColumnName ='<a href="https://www.google.com" target="_blank">https://www.google.com</a>;
    
        presenter: '<span style="padding: 4px;min-height:26px;max-height:30px;width: 100%;left: 0;margin: 0 !important;float: right;font-size:' + fontSize + 'px;background-color:{{=it.color}}" ng-bind-html="{{=it.' + _dbColumnName + '}}"></span>'
    

    Help me to resolve it.

    Thanks ,

    Arulventhan NP

  • Posted 13 June 2018, 10:54 pm EST

    Hi Arul,

    I have asked the development team to look into this issue. The tracking id for this issue is 259540.

    Thanks,

    Deepak Sharma

  • Posted 2 July 2018, 11:51 pm EST

    Hi Deepak Sharma,

    May i know the status of tracking id 259540.

  • Posted 3 July 2018, 8:38 pm EST

    Hi Arul,

    This bug is still with the development team. I have asked for an update on it, I will let you know as soon as I get one.

    Thanks,

    Deepak Sharma

  • Posted 4 July 2018, 7:34 pm EST

    Hi Arul,

    Currently we do not support this feature and there is no plan to implement it near future.

    Sorry for the inconvenience.

    Thanks,

    Deepak Sharma

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels