Our powerful JS Calendar component


Post by chulio »

Hello together,

I just started fiddling around with the Calendar trial and I'm already running into trouble.
I used the code from the vue guide (https://bryntum.com/docs/calendar/guide/Calendar/quick-start/vue-3#step-4---add-the-calendar-component-into-the-application) and while the calendar shows up, I can't get any events to show up, no matter what I set the events variable to.

Am I missing something? I feel like the documentation is very confusing btw, are there some concepts I should look into first?

Thank you!


Post by marcio »

Hey chulio,

It's difficult to say what could be causing that behavior based on the description that you provided. Have you tried to create your application based on one of our examples??

We have a thread explaining how to ask for help here viewtopic.php?f=1&t=772

Besides that, we have a guides section where you can read some stuff to understand how our Suite works https://bryntum.com/docs/calendar/#guides

Best regards,
Márcio


Post by chulio »

Hi Marcio,

I just used the example from the link I posted with no modification, so I'm not sure what role my setup should play in this.

It actually works if I pass the events / resources directly to the calendar instead of the project-model as seen in the example in the link.


Post by marcio »

Hey,

Did you set up the project on the calendar?? Like the following

<bryntum-project-model
        ref="project"
        :events="events"
        :resources="resources"
    />
    <bryntum-calendar
        :project="project"
    />

Best regards,
Márcio


Post by chulio »

As I said, I set it up exactly the way as described in the link I posted in the initial question, which differs from your code.

It worked when I replaced

 <bryntum-project-model ref="project" v-bind="projectConfig" :resources="resources" :events="events" />
 <bryntum-calendar ref="calendar" v-bind="calendarConfig" />

with

<bryntum-calendar :events="events" :resources="resources" ref="calendar" v-bind="calendarConfig" />

But I assume that will cause some kind of trouble when not being able to set project configs?

Your solution does the same thing as before: No events showing. No errors either.


Post by marcio »

Hey chulio,

Thanks for the report, I tested that documentation example and it's not working properly. I created a ticket to fix that code https://github.com/bryntum/support/issues/5532

Also, when you set up the inline data directly to the calendar, you can't use the project object to manage the data, you need to pick one approach to configure your calendar.

Please let me know if you need more assistance.

Best regards,
Márcio


Post by saki »

Hello chulio,

yes, we have currently a bug that prevents showing events directly bound to the project. The ticket is here: https://github.com/bryntum/support/issues/4516

For now, bind data to the calendar to make it working. It will start to work normally after this bug will be fixed.


Post Reply