How to multidelete items from datatable?
I’m getting “Bad Request”
How to fix this?
function removeItem() {
let selectedId = $$(“vaultOverflowTable”).getSelectedId();
webix.ajax().del(“http://localhost:1337/question”, { id: selectedId });
if (selectedId) {
$$(“vaultOverflowTable”).remove(selectedId);
}
$$(“vaultOverflowTable”).clearAll();
$$(“vaultOverflowTable”).load(“http://localhost:1337/question”);
}