FullCalendar implemented options dynamic

0
0

Hi all,

i made some change to Wisej.Web.Ext.FullCalendar with the goal to use dynamic Options like other extension (es Wisej.Web.Ext.GoogleMaps).

 

I not tested the result with all possible options offer by FullCalendar, but can be a start point. I attached a sample that dimostrate what i have done. Wrapped options managed by extension are unchanged, the new property Options is separated from these.

Wisej.Web.Ext.FullCalendar offer a new method call “Update Options” that update only user options defined into dynamic property “Options”.

 

NOTE: NOT ALL options can be set dynamically (see FullCalendarDynamicOptions – > Exceptions)

 

If the result is acceptable for Wisej Team i can make a pull request to GitHub.

 

 

UPDATE: fix an error.

 

  • You must to post comments
0
0

Hi Frank,

no problem!

To make Wisej Team works simpler i made change to:

  • JavaScript/startup.js
  • FullCalendar.cs

 

Let me know any update.

Thank you.

 

  • You must to post comments
0
0

Thanks Simone.

We will definitely look into your extensions but please allow a few more days for our answer
as we are busy in finalizing the 2.0 release.

Best regards
Frank

  • You must to post comments
0
0

Hi all,

i made some other adjustment to my work on  Wisej.Web.Ext.FullCalendar.

 

I tested options like “eventDurationEditable” and “eventStartEditable” to make events of FullCalendar like “readOnly” (no event resize, no event move).

 

I also noted in my master working project that use Wisej.Web.Ext.FullCalendar with other Widget cause some problem. To make new fullCalendar in startup.js there is something like this:

this.calendar = new $.fullCalendar.Calendar($(this.container), options);

 

The problem is that some time $.fullCalendar is undefined, it’s happen when another Widget is used.

I solved this replacing “$.fullCalendar” with function offered by embedded js “JavaScript/fullcalendar-3.9.0.js -> FullCalendar()..” and the problem seems to be gone.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.