Regarding enabling multi-selection and shortcut deletion of selected tasks, I handle the deletion operation using the batchUpdate method

When in multi-selection mode and using the delete key for quick deletion, the operation works fine when the selected tasks have no specified task assignments. However, when I assign personnel to certain tasks, the deletion operation throws an error.

I wrote the handling logic referring to the example. I just added the use of the delete shortcut key, and I’m using Vue 3.
https://docs.dhtmlx.com/gantt/samples/02_extensions/09_multiselection.html

Hello,
It is a bug in Gantt, and we are aware of it. The dev team will fix the bug in the future, but I cannot give you any ETA.
There are several workarounds for the bug:

  1. Delete several tasks without the batchUpdate method:
    DHTMLX Snippet Tool
  2. Use the silent method and repaint the changes later (though they won’t be sent to the server):
    DHTMLX Snippet Tool

Hello,
The dev team fixed the bug with the batchUpdate method:
https://docs.dhtmlx.com/gantt/whatsnew.html#x8318x90x8319x:~:text=Fix%20the%20error%20on%20deleting%20a%20task%20inside%20the%20gantt.batchUpdate%20method%20while%20tasks%20are%20displayed%20in%20the%20Resource%20Panel

You can see that the bug is no longer reproduced in the following sample:
https://snippet.dhtmlx.com/ku3104bw