specifies the lightbox object

object lightbox;


    { name:"description", height:50, type:"textarea", map_to:"text", focus:true},
    { name:"location",    height:43, type:"textarea", map_to:"event_location"},
    { name:"time",        height:72, type:"time",     map_to:"auto"}    
scheduler.init('scheduler_here',new Date(2013,2,1),"week");

Related samples


The lightbox object has 1 property:

  • sections - (array) specifies lightbox's sections
//default definition 
    {name:"description", height:200, map_to:"text", type:"textarea" , focus:true},
    {name:"time", height:72, type:"time", map_to:"auto"}

Each object in the sections array can have the following properties:

Meaning of 'map_to:'auto'

The 'map_to' property can take the 'auto' value. The 'auto' value relates to the following:

  • The control won't return any value and will directly change the value of the related event's properties according to the 'set_value()' method (Custom Lightbox Control).
  • Generally, the 'auto' value is used for complex controls that work with multiple properties of an event
See also
Back to top