Get the section_label

Hello,

Is it possible to get the section_label value when i’m inside of “onEventChanged” Event ?

I need to do somtehing like this :

[code]scheduler.attachEvent(“onEventChanged”, function(event_id,data,event_object){

			var ev = scheduler.getEvent(event_id);
                            ev.driver_id = section_id // OK
                            ev.driver_name = section_label // that's what I mean , but section_label is empty

}
[/code]

Thanks

Not quite sure, but check getLabel api
docs.dhtmlx.com/scheduler/api__s … label.html

var label = scheduler.getLabel("driver_id", id);

it will convert id to the label

Great!!