jQuery UI Widgets Forums Scheduler Ensure current hour is visible

This topic contains 1 reply, has 1 voice, and was last updated by  74bit 5 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Ensure current hour is visible #76697

    74bit
    Participant

    Hi,

    is it possible to automatically scroll to the current hour, so that the current appointments are visible?

    I tried ensureVisible with date + time, but it seems not to work.

    Thanks,
    Witold

    Ensure current hour is visible #76698

    74bit
    Participant

    Okay, found a solution, but is there a better way?

    ready: function () {
       $("#scheduler").jqxScheduler('scrollTop', $('#scheduler').jqxScheduler('rowsHeight') * 2 * (new Date()).getHours() );
     },
    • This reply was modified 5 years, 7 months ago by  74bit.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.