Displaying 8 Am to 8 PM

Hi ,

Is there any way to have the calendar scroll to 8 AM and displays till 8 PM.

so that i can scroll to top to see 0 to 7 AM and scroll to bottom to see 8 PM to 11:45 PM ?

now i have added height property for the surrounding div as 1020 px and scroll_hour to 8 AM.

i have 15 mins interval step.

in my PC, it scrolls to 8 AM and displays 8 PM without scrolling… but in other PCs , the calendar shows 8 AM to 12:30 PM

  1. is there any proper method to achieve this ? so that it will display 8 AM to 8 PM in all PCs? (should not hide other timings…they should be there…we can scroll and see the other timings)

  2. if an event is added, is it possible to scroll to that event’s position ? instead of scrolling to 8 AM again?

Thanks for any help!.

Hi,

The problem is with the PC itself, so please ignore my first issue.

about the second one …sorry i am not more clear about the pbm…

the issue is, i have added a “New Event” link outside the calendar, on clicking that, i am calling Scheduler.addEvent() to display the lightbox… once the event is saved using that popup,
is it possible to scroll that event?

please help!

Hello,

You can try to apply following logic:

  1. onLightbox save event_id
  2. onAfterLightbox save event start_date, set up scroll hour to that hour
  3. Refresh view, reset scroll hour option to previous value

Kind regards,
Ilya

hi,
Thank you very much… i’ll try like that.