Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › General Discussions › Scheduler in month view – not showing events
Tagged: Scheduler
- This topic has 5 replies, 3 voices, and was last updated 4 years, 3 months ago by
admin.
-
AuthorPosts
-
July 6, 2021 at 6:30 pm #101997
davout
MemberI am using the ‘Smart-scheduler’ component in ‘month’ view, but I can’t get any data to show in the month view…
<smart-scheduler id="scheduler" #scheduler class="task-smart-scheduler" [dataSource]="tasks$ | async" [view]="schedulerView" [disableViewMenu]="true" [dateCurrent]="dueDate$ | async" [firstDayOfWeek]="schedulerFirstDoW" > </smart-scheduler>Some questions on this….
1). what value do I assign to ‘dateCurrent’ when the scheduler is in ‘month’ view?
2). I’m only setting the ‘view’ property. Is that sufficient?
July 7, 2021 at 9:28 am #102004admin
KeymasterHi davout,
You can see this example: https://www.htmlelements.com/angular/demos/scheduler/view-basic/. It shows how to use the Scheduler in Month View.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/July 7, 2021 at 9:40 am #102005davout
MemberI found the problem…
If the scheduler entry has the same ‘dateStart’ and ‘dateEnd’ value then the entry is not displayed. That seems like a logical bug to me.
July 7, 2021 at 2:24 pm #102008yavordashew
MemberHi davout,
When you set the ‘dateStart’ and ‘dateEnd’ to the same value its not a logical bug that the event is not displayed, because when you set it like so the entry’s value is basically ‘0’.
In other words- it should always have a ‘starting date’ and ‘ending date’ in order to be displayed( determines which part it will take in the SmartScheduler).
Please, do not hesitate to contact us if you have any additional questions.
Best regards,
Yavor Dashev
Smart UI Team
https://www.htmlelements.com/July 7, 2021 at 3:01 pm #102009davout
MemberIn both Outlook and Google Calendar it is possible to define calendar events that have a zero duration (i.e. dateStart = dateEnd)
July 8, 2021 at 8:04 am #102010admin
KeymasterHi davout,
You are right about the zero duration. We will update the behavior of such Scheduler events.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/ -
AuthorPosts
- You must be logged in to reply to this topic.