Our powerful JS Calendar component


Post by tinuc80 »

  1. Is it possible to select multiple days in sidebar mini calendar like outlook allows and change mode accordingly ?
  2. readOnly of calendar is making filer control in sidebar also non-editable - is this expected behavior ? We dont want viewer to modify/insert/delete the events from calendar. And we utilizing readOnly property,onBeforeShow tooltip to hide edit and delete buttons. While that works but event filter control is disabled and we need that to be enabled. How do we achieve that?
  3. Print for agenda view is always empty - is this a limitation?

Post by mats »

  1. We don't support range selection yet but it's on our near term radar (work already begun)

  2. That's a bug we'll fix: https://github.com/bryntum/support/issues/4015

  3. Looks like a bug as well, thanks for reporting: https://github.com/bryntum/support/issues/4016

We'll try to get both fixed soon!


Post by tinuc80 »

Thank you.
One more question. Per https://bryntum.com/docs/calendar/api/Scheduler/model/EventModel, eventID can be string or integer. But when I assign string value to all of the data records in data.json, I get error message "data loading failed..."


Post by mats »

Can you please share your data? Then we can look into it quickly.


Post by tinuc80 »

Sure. Below is content of data.json I am using. We actually have id value in guid.

{
    "success"    : true,
    "resources"  : {
        "rows" : [            
] }, "events" : { "rows" : [ { "id" : "A1", "startDate" : "2020-10-11T14:00:00", "endDate" : "2020-10-18T12:00:00", "name" : "Hackathon 2020 XYZ", "allDay" : true, "resourceId" : "bryntum", }, { "id" : "A2", "startDate" : "2020-10-11T14:00:00", "endDate" : "2020-10-11T18:00:00", "name" : "Check-In in Hotel", "resourceId" : "hotel" }, { "id" : "A3", "startDate" : "2020-10-11T18:00:00", "endDate" : "2020-10-11T20:00:00", "name" : "Relax and official arrival beer", "allDay" : true, "resourceId" : "michael" }, ] } }

Post by alex.l »

Hi tinuc80,

I just removed extra commas in your JSON to make it valid and tried it with our Calendar "basic" example. It works well to me. Could you please provide a runnable test case where it is reproducible?

All the best,
Alex


Post by mats »

For #1: Do you mean a continuous date range, or you want to pick multiple non sequential dates and have it shown in a week view as separate dates? Is this only relating to day view mode?


Post by Animal »

The AgendaView not printing is a known issue: https://github.com/bryntum/support/issues/3884


Post by tinuc80 »

mats wrote: Fri Jan 14, 2022 12:45 pm

For #1: Do you mean a continuous date range, or you want to pick multiple non sequential dates and have it shown in a week view as separate dates? Is this only relating to day view mode?

Both similar as outlook


Post by Animal »

Can you show an Outlook screenshot so that we have an idea of what to aim for?


Post Reply