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

Custom Scrolling needed in Dynamic Scheduler

Asked by Rao
16 years ago.
Hi,
I need customize scrolling in Dynamic Scheduler.
Comment posted by Dan Letecky
16 years ago.
Can you please specify in what way you need to customize it?
Comment posted by azrajobs@gmail.com
16 years ago.

how to customize row 1 for user 1 in scheduler

row 2 for 2nd user

row 3 for 3rd user

Comment posted by Dan Letecky
16 years ago.

The rows are defined using Resources property in DayPilotSchedulerDynamic. It's a collection of DayPilot.Web.Ui.Resource objects. The sample declarative definition looks like this:

<DayPilot:DayPilotScheduler ID="DayPilotScheduler1" runat="server" ...
>
  <Resources>
    <DayPilot:Resource Name="Room A" Value="A" />
    <DayPilot:Resource Name="Room B" Value="B" />
    ...

You can also fill the collection dynamically in Page_Load:

protected void Page_Load(object sender, EventArgs e)
{
 if (!IsPostBack)
 {
    DayPilotScheduler1.Resources.Add("One", "1");
    DayPilotScheduler1.Resources.Add("Two", "2");
    DayPilotScheduler1.Resources.Add("Three", "3");
  }
}

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