reload xml with onEventAdded

how can i reload the xml of an event after i just placed it?

(
the connecter has a part that needs to reload
$row->set_value(“patient”,"{$naam}");
)

scheduler.attachEvent(“onEventAdded”, function(event_id,event_object){
scheduler.getEvent(event_id).text = “Behandeling”;
location.reload(true);
});

dp.attachEvent("onFullSync",function(){ scheduler.clearAll(); scheduler.load(url); })

It possible to extend both client and server side connector’s code, so it will update necessary field without full data reloading.

it’s working now, but when i delete a event, it doesnt reload the other events…

onFullSync event of dataprocessor will be executed after any server-side operation. It will work for delete as well, when some record is deleted on server side.

after any update, i need to browse to the right date again.
How can i fix this?

By “update” do you mean page reloading?

In such case, you can check next extensions

docs.dhtmlx.com/doku.php?id=dhtm … _in_cookie
or
docs.dhtmlx.com/doku.php?id=dhtm … ate_in_url

thnx, that works…