What I am trying to accomplish here is to add a pre-filled event to the scheduler (in timeline view) when a user clicks on a button somewhere on the page.
Please advise on how I can do it without using the lightbox. Thanks!
Sorry if I seem a little impatient but can anyone give any hints as to how to get this done? Or if it’s even possible? This seems like a pretty trival thing but I just can’t seem to figure it out.
scheduler.addEvent({
start_date: new Date(2012,0,1),
end_date: new Date(2012,0,5),
text: "Hello world!",
section_id: 5
});
Important part here is “section_id”. Event above would be displayed in section with id = 5. In your case instead of section_id you should use your timeline view “map_to” property.