I want to update the y-axis in timeline view of dhtmlxScheduler (sections changed).
After changes made in gridview and database the sections in timeline view should be updated,
but the timeline view is empty.
...
var dpg = new dataProcessor("gridConnector.ashx");
dpg.init(contactsGrid);
dpg.attachEvent("onAfterUpdateFinish",function(){
new_sections = scheduler.serverList("sections");
scheduler.updateCollection("sections",new_sections);
...
})
Is it correct to use the onAfterUpdateFinish event (after changes are made in database)?