search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

[?] Update Event client-site

Asked by Thomas Lee
15 days ago.

Hi Daypilot team,
I could find the Event based on id by using dp.events.find(id);
After that, I would like to change `e.client.moveEnabled = false; `
I tried to use ` dp.events.update(e).queue();` or ` dp.update();` but nothing happens.

Is there any wrong in my code?
Could you help me?
Thank in advances,
Thomas Lee

Answer posted by Thomas Lee
15 days ago.

After read some sample code, I know how to do.
Instead of `e.client.moveEnabled = false; ` , it should be ` e.data.moveDisabled = false;`

and after that, use ` dp.events.update(e).queue();` to update

New Reply
This reply is
Your name (optional):