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

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

Asked by np
10 years ago.

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.DataColumnField = "Rooms"; // Rooms is a list type, and inside that 'Name' the field i want to assign to data column.

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