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

how to edit create events with recources ?

Related article: ASP.NET MVC 5 Event Calendar
Asked by cagri
6 years ago.

how to edit create events with recources ?

can you give us examples with recouces

Comment posted by Robert
6 years ago.

I don't know if this helps. But in the Javascript Open Source DayPilot version (daypilot-common.src.js), I added a resource at creation time like this:
I understand that the data object provided at creation time is a dictionary with key and values and it can be extended.

var event = new DayPilot.Event({
start: date_start,
end: date_end,
id: reservations[reservation].pk.toString(),
text: getStudioName(studioId) + ' ' + Dash + ' ' + reservations[reservation],
backColor: getStudioBackColor(studioId),
cssClass : studioName.replace(" ", ""),
toolTip: made_by_id,
barColor: 'yellow',
resource: studioId,
song: reservations[reservation],

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