Home Unanswered Active Tags New Question

How to assign a list type variable to data columnfield of daypilotCalender ?

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.

Asked by np 29 days ago.
Replies
No reply yet.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java