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

How to delete Resource from scheduler

Asked by RK
10 years ago.

I have tried to delete a resource by having a menu item on Resource menu and using callback to update the database and rebinding the data. I am also using update() method inside SchedulerBeforeResRender which is causing me below client side exception. Any help would be appreciated

if(!this.rows[y].Hidden)
Unable to get property 'Hidden' of undefined or null reference

Comment posted by Dan Letecky [DayPilot]
10 years ago.

Can you give it a try with the latest version of DayPilot? "this.rows[y].Hidden" is not used anymore in the latest version.

The Update() method should not be called inside BeforeResHeaderRender - it's too late there (this event is only fired if full update has been already requested).

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.