[FullCalendar 2] Undefined value

[FullCalendar 2] Undefined value

  
Forge Component
(11)
Published on 2016-03-23 by Grazina
11 votes
Published on 2016-03-23 by Grazina

Hello, I'm getting an Undefined text that I not able to find the source. The image bellow shows the problem


Is there any workaround for this problem?


Best regards,

Vitor Mexia

Hi Vitor,

As your not passing Event Title value, so you might be getting "undefined" event title.

Please check on FullCalendar JS script, where event is being added/created.

Thanks & Regards,

Swaroop Mutalik

Solution

Hi Vitor, 

You may need to set the description explicitly as well, as the renderer function for this implementation includes a description for the events as well.

Set it to a blank string, and it should work.

Kind Regards,

João Grazina


Solution

Oh, indeed I did not set a description since I only wanted to show the bars with the id (no need for more info). I will try to set it to ""(empty) as you suggested, I'll leave some feedback as soon as I try it.

Thanks,

VM

Grazina wrote:

Hi Vitor, 

You may need to set the description explicitly as well, as the renderer function for this implementation includes a description for the events as well.

Set it to a blank string, and it should work.

Kind Regards,

João Grazina