I tried following solution.
I added an EventListener for “onListBeforeDrop” event.
onListBeforeDrop(context, ev, list) {
const item = $$(context.from.config.id).getItem(context.start);
$$(context.from.config.id).remove(item.id);
$$(context.to.config.id).add(item);
}
It works, but finally I get following errors:
webix.js:362 Invalid ID for updateItem
webix.js:9114 Uncaught TypeError: Cannot read property ‘id’ of undefined
at DataStore.updateItem (webix.js:9114)
at result.updateItem (webix.js:9648)
at result._applyOrder (kanban.js:1199)
at DataStore. (kanban.js:951)
at DataStore.callEvent (webix.js:691)
at DataStore.updateItem (webix.js:9121)
at result.updateItem (webix.js:9648)
at result.move (kanban.js:271)
at result.move (webix.js:8271)
at result.move (kanban.js:255)
Any idea whats wrong?