jQWidgets Forums

jQuery UI Widgets Forums DataTable How to disable html attribute validation

This topic contains 2 replies, has 2 voices, and was last updated by  mfatih 9 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • How to disable html attribute validation #75625

    mfatih
    Participant

    Hi, i am generating html using angular in cellrenderer callback method and return result as string value as it is expected. But results can not be displayed. Then i realized my html result contains ng-scope, ng-bind and several angular specific attributes , when i removed those attributes manually it was working. I guess the version 3.8.2 has html check validation. Is there any way to disable it.
    Thanks in advance.

    sample : <div ng-bind=”entity.id” class=”turkuaz_label”>mfatih</div> NOT VALID html
    sample : <div class=”turkuaz_label”>mfatih</div> VALID html

    How to disable html attribute validation #75627

    ivailo
    Participant

    Hi mfatih,

    Here is the demo with angular and custom cell template. It may be helpful for you.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    How to disable html attribute validation #75631

    mfatih
    Participant

    I removed attributes(ng-bind ,ng-class,ng-src) manually from result html and it is working properly.
    Adding jqxangular.js might solve the problem as well. i did not tried that.
    Anyway, checking inner html in cellsRenderer not a good idea

    Thanks for your help….

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.