Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Definelife on Nov 06, 2009 04:23
open dhtmlx forum
Schedular CreateUnitViews

Hi,
I am able to create unit views dynamicly.
I create various number of the section and it works perfect.

But I am not able to add event in the certain section(column).
How can I add event in de custome made section?


Answer posted by Alex (support) on Nov 06, 2009 08:05

Hello, 

the event can be added by double click or drag-n-drop. 

Also you can use addEvent method

scheduler.addEvent({

  start_date: new Date(),
  end_date: new Date(),
  text:"Some text",
  section_id:2

});

Here section_id is name of the event property that is associated with unit, 2 is unit key.