JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums General Discussions Scheduler in month view – not showing events

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #101997
    davout
    Member

    I 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?
     

    #102004
    admin
    Keymaster

    Hi 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/

    #102005
    davout
    Member

    I 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.
     

    #102008
    yavordashew
    Member

    Hi 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/

    #102009
    davout
    Member

    In both Outlook and Google Calendar it is possible to define calendar events that have a zero duration  (i.e. dateStart = dateEnd)

    #102010
    admin
    Keymaster

    Hi 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/

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.