Home Unanswered Active Tags New Question

Tree array not updated on scheduler callback

When a scheduler does a callback and the amount of resources change (see Forum 643 (bug)) the amount of tree nodes should be updated as well. If this doesn't happen the 'tree array' can go out of range.

Asked by Eric 2 years ago.
Replies

Yes, I should probably fire an exception when you modify the Resources collection but don't call full Update. I don't like the idea of overriding the Update mode automatically. Maybe there could be a fourth update mode: "Auto" that would detect the resources collection change.

I'm adding it to the 5.3 release checklist. Thanks for reporting the problem!

Comment posted by Dan Letecky 2 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java