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
Post a Comment