i am adding columns to day pilot calender control for resource view. I have a list of rooms and inside that name field is there which i want to assign to the data column field.
roomList.Items.ForEach(itm =>
{
col = new DayPilot.Web.Ui.Column(itm.Name, itm.Id.ToString());
DayPilotCalendar1.Columns.Add(col);
});
DayPilotCalendar1.DataColumnField = "Rooms"; // Rooms is a list type, and inside that 'Name' the field i want to assign to data column.