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

Daypilot Scheduler

Asked by Anonymous
9 years ago.

Hi..i am trying to display my project's details in gantt chart using Daypilot scheduler..But the Scheduler is showing Dates/details(data) only from current date...example...My gantt chart show project details...whose start date is 3-july-2013 to 9 july 2013...and other details of other dates ara not showing...i have issue of Scrollx function..THIS IS MY CODE in pageload==
if (!IsPostBack)
{
DayPilotScheduler1.TimeHeaders.Clear();
DayPilotScheduler1.TimeHeaders.Add(new TimeHeader(GroupByEnum.Month));
DayPilotScheduler1.TimeHeaders.Add(new TimeHeader(GroupByEnum.Week));
//DayPilotScheduler1.TimeHeaders.Add(new TimeHeader(GroupByEnum.Day));
LoadResources();
//UpdateScheduler();
GetTask();

GanttController objGanttController = new GanttController();
DataSet ds = new DataSet();
ds = objGanttController.GetDate();
//DayPilotScheduler1.SetScrollX(DateTime.Today);
DayPilotScheduler1.SetScrollX(GetDate()?? (Convert.ToDateTime(ds.Tables[0].Rows[0]["strtDT"])));
}

so i want display details in any start or end ...not only curent week..

mvc
Answer posted by Dan Letecky [DayPilot]
9 years ago.

You should set .StartDate (the first visible day) and .Days (number of days) to match your event set.

SetScrollX() will set the scroll position but it has to be within this range.

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