Example #1
0
 protected void DayPilotScheduler1_OnRowCreate(object sender, RowCreateEventArgs e)
 {
     DayPilotScheduler1.Resources.Add(e.Text, Guid.NewGuid().ToString());
     setDataSourceAndBind();
     DayPilotScheduler1.Update();
 }
Example #2
0
 void DayPilotGantt1_RowCreate(object sender, RowCreateEventArgs e)
 {
     DayPilotGantt1.Tasks.Add(e.Text, Guid.NewGuid().ToString(), DateTime.Today, DateTime.Today.AddDays(1));
     DayPilotGantt1.UpdateWithMessage("Created");
 }