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

Add Resources Afterwards

Asked by Anonymous
3 years 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]
3 years 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();
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.