scheduler.serverList / updateCollection not working

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)?

The code which you are using is valid, but it will not update sections, because serverList construction loads data only once, during initial data loading, and can’t be used for dynamic updates.

Ok, I think then I have to use dhtmlxAjax.

separate ajax call with updateCollection after it will work