Changing Event Text on scheduler.parse(json)


I am using a ComboBox in lightbox so user can choose appropriate data. Once combobox is selected, I display Text as a string by concatenating my selections (onEventAdded).

Event Text is not saved in database upon saving event as it has no significance on server side. Is there way to format event text as events are being loaded using scheduler.parse(json) just like i am doing below on “onEventAdded” Or is it must to pass text in Json object.

Please advise

{ name:“primary”, options: usersArray, map_to:“primary”, type:“combo”, image_path: “…/…/…/dhtmlxcombo/codebase/imgs/”, filtering: true },
{ name:“backup”, options: usersArray, map_to:“backup”, type:“combo”, image_path: “…/…/…/dhtmlxcombo/codebase/imgs/”, filtering: true },
{ name:“recurring”, height:115, type:“recurring”, map_to:“rec_type”, button:“recurring”},
{ name:“time”, height:72, type:“calendar_time”, map_to:“auto”}

scheduler.attachEvent(“onEventAdded”, function(event_id,event){
scheduler.getEvent(event_id).text = “Primary:” + getUsersLabel(event.primary) + " Backup:" + getUsersLabel(event.backup) + “”;

There is onEventLoading handler

scheduler.attachEvent("onEventLoading", function(obj){ obj.text = "Primary:<b>" + getUsersLabel(obj.primary) + "</b> Backup:<b>" + getUsersLabel(obj.backup) + "</b>"; return true; });