scheduler

Hi



Could you tell me what different types are available in the lightbox sections? Also, could you give an example of how to create a checkbox or dropdown select box please?



Thank you.

By default, there are 3 types of built in editors ( with ability to create a custom ones )

“textarea” - multiline textarea editor ( if small height defined - it will look as single line input )
“select” - dropdown with list of options ( native HTML select )
“time” - series of selectboxes, which allows to select start and end date

>>how to create a checkbox or dropdown select box please

calendar.config.lightbox.sections=[
{name:“description”, height:130, map_to:“text”, type:“textarea” , focus:true},
{name:“type”, height:23, type:“select”, map_to:“type” ,options:[
{key:1, label:“Free time, will come”},
{key:2, label:“Free time, need to consider”},
{key:3, label:“Job related”}
]},

{name:“time”, height:72, type:“time”, map_to:“auto”}
]
calendar.locale.labels.section_type=“Event type”;