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