Dhtmlxdataprocessor change url

Hi,

how can i change dynamically the url of the dataprocessor after it’s been initialized?
I tried using onBeforeUpdate event , not sure i’m using it right.
Thanks.

To change url of the dataprocessor after it’s been initialized you can use following code:

dp.serverProcessor = new_url

Hi
I have downloaded the latest version of scheduler and when I try to change the URL for the dataProcessor using

dp.serverProcessor(URL);

I get this error message:

dp.serverProcessor is not a function

Does this only work on the professional version?

You should use:

dp.serverProcessor = "../../path/to/new/url"

Thank you Olga, this worked very well and just saved me alot of time. Might I also suggest adding this to the documentation.

Thanks,
Chris