Re-Calculate Totals row when a row is deleted
4 years ago.
Hi,
I am trying to update the totals row (Scheduler) when a resource is deleted from DP. The totals row updates fine when an event is deleted or a row is added to the DP table. The only issue I am having is that it doesn't update when I remove a row from the DP scheduler table.
I am calculating my totals row by using the onBeforeCellRender function as shown in this link: https://code.daypilot.org/93064/javascript-scheduler-column-summary
Would you know of any function that would help me achieve this? Or maybe I am doing something wrong because it seems like every time I delete a row, dp.events array should be updated as well and maybe then the onBeforeCellRender will update the totals row?
DayPilot