Deleting an Event causes Scheduler to be Complete Readonly

Hi,

When someone tries to click on the event, and modifies the value in the light box, I am actually inserting a new Event to the database and adding on the scheduler using scheduler.parse and then have to delete the old event. Since I am getting the old event ID, I am using inside the Lightbox code my deletion code -

scheduler.deleteEvent(id);

so id here is the orignal OLD ID of the event which has been modified.

**But after this line, the Scheduler becomes completly readonly and in the developer tools of chrome i see the following error:
Cannot update the property of null.

Pls Help.

Thanks
Ashish :confused: :confused:

Hello,
please show a demo or some of your code so we could better understand the issue.

Basically, if modifying event on the client side inserts/replaces a record in a database, usually it’s enough to assign a new database id to the client side event without removing/reloading event docs.dhtmlx.com/scheduler/api__s … entid.html
But it’s hard to give you more details without knowing your code