Required library edition:
Required library file: dhtmlxscheduler.js
returns label text by option's id and property name
For example, following code was used to create select:
var sections=[ {key:1, label:"James Smith"}, {key:2, label:"John Williams"}, {key:3, label:"David Miller"}, {key:4, label:"Linda Brown"} ]; scheduler.config.lightbox.sections=[ {name:"description", height:130, map_to:"text", type:"textarea" , focus:true}, {name:"custom", height:23, type:"select", options:sections, map_to:"section_id" }, {name:"time", height:72, type:"time", map_to:"auto"} ]
To get “Linda Brown” label one should use:
scheduler.getLabel("section_id", 4)