I need to change the fullcalendar header as each month is selected -


I need to change the header as every month is selected, it contains the text from the database, so we can use AJAX I am talking about, which I am familiar with. I just need to know the incident which is starting in the change of the month and the month / year is also being loaded.

eventAfterAllRender callback option is your best bet

This is a small demo:

When all event rendering ends (which is changed at any time in a month, day or week), it converts the current date into a string and changes it Lets headline text with it.

  var dateChanged = function () {var currentDate = $ ("# calendar"). FullCalendar ('getDate'); Console.log (CURRENTDATE); $ ('.fc-toolbar .fc-left-h2'). Text (currentDate.format ()); } Var $ fc = $ ("# Calendar"). FullCalendar ({eventAfterAllter: date changed,});  

Not super solid, but you should be able to fit it to your needs.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -