Calendar Angularjs -


goodmorning everyone, i'm using calendar angularjs library fullcalendar.js. place allday (located in seventh day) should add buttons. i'm wondering how angular? in library fullcalendar.js renderhtml should use, not know how use it. ask hand.

here code:

fullcalendar.js part should change in angularjs

renderhtml: function() {         return '' +             '<table>' +                 '<thead class="fc-head">' +                     '<tr>' +                         '<td class="' + this.widgetheaderclass + '">' +                             this.timegrid.headhtml() + // render day-of-week headers                         '</td>' +                     '</tr>' +                 '</thead>' +                 '<tbody class="fc-body">' +                     '<tr>' +                         '<td class="' + this.widgetcontentclass + '">' +                             (this.daygrid ?                                 '<div class="fc-day-grid"/>' +                                 '<hr class="fc-divider ' + this.widgetheaderclass + '"/>' :                                 ''                                 ) +                             '<div class="fc-time-grid-container">' +                                 '<div class="fc-time-grid"/>' +                             '</div>' +                         '</td>' +                     '</tr>' +                 '</tbody>' +             '</table>';     }, 

fullcalendar.js aprte should change in angularjs renderhtml: function() {         return '' +             '<table>' +                 '<thead class="fc-head">' +                     '<tr>' +                         '<td class="' + this.widgetheaderclass + '">' +                             this.timegrid.headhtml() + // render day-of-week headers                         '</td>' +                     '</tr>' +                 '</thead>' +                 '<tbody class="fc-body">' +                     '<tr>' +                         '<td class="' + this.widgetcontentclass + '">' +                             (this.daygrid ?                                 '<div class="fc-day-grid"/>' +                                 '<hr class="fc-divider ' + this.widgetheaderclass + '"/>' :                                 ''                                 ) +                             '<div class="fc-time-grid-container">' +                                 '<div class="fc-time-grid"/>' +                             '</div>' +                         '</td>' +                     '</tr>' +                 '</tbody>' +             '</table>';     }, 

Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -