Ok i am running DayPilot Pro 5.0 SP1 and trying to update the resource columns.
This is my defineColumns it shows the DateTime.Now in the headers:
private void defineColumns()
{
DayPilotCalendar1.Columns.Clear();
DateTime first = DayPilotCalendar1.StartDate;
for (int i = 0; i < 7; i++)
{
DateTime dayColumn = first.AddDays(i);
Column c = new Column(dayColumn.ToString("dddd dd-MM-yyyy"), dayColumn.ToString("s"));
c.Date = dayColumn;
DayPilotCalendar1.Columns.Add(c);
Column c1 = new Column(DateTime.Now.ToString(), "A");
c1.Date = dayColumn;
c.Children.Add(c1);
}
}
That works fine but wen i use DayPilotCalendar1.Update(CallBackUpdateType.Full); in my DayPilotCalendar1_EventMove / Delete / Update /Resize the time in the headers wont update.
It only works if i use a javascriptdpc1.refreshCallBack(null,7);
Am i missing something?