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

Add Resources Afterwards

Asked by Anonymous
11 days ago.

Hey there, im using a Loop where i would like to add Resources afterwards of dp.init. Ist there a way like dp.addResources (example) or something to acomplish this?

Answer posted by Dan Letecky [DayPilot]
11 days ago.

To add resources you need to modify the resources[] array and call update():

dp.resources.push({name: "New resource 1", id: "NR1"});
dp.resources.push({name: "New resource 2", id: "NR2"});
dp.update();
New Reply
This reply is
Your name (optional):