search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to put the current date as first view on the DayPilotScheduler?

Asked by annoiz
12 years ago.

Hi,
How to put the current date as first view on the DayPilotScheduler? so for example, the start date is first day of the month, but i want the scroll start from the current day not the first of day.

Is it possible?

Thank you.

Answer posted by Dan Letecky [DayPilot]
12 years ago.

You can do it using SetScrollX() method:

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            DayPilotScheduler1.SetScrollX(DateTime.Today);
        }
    }
Comment posted by annoiz
12 years ago.

thank you so much.. :D

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.