Posted 23 May 2021, 10:25 pm EST - Updated 3 October 2022, 4:50 am EST
Hi,
am using the wijmo listbox drag and drop event but my requirement is highlighted cell should not perform drag and drop event while remaining values how can I do that please help me.
this the method am using
initListBox(ListData) {
enableDragDropInList(ListData, ListData);
ListData.hostElement.addEventListener(“mousedown”, function (e) {
console.log(ListData.roworder);
let target = wjCore.closest(e.target, “.wj-glyph”);
if (!target) {
return;
}
let listItem = wjCore.closest(target, “.wj-listbox-item”);
if (listItem) {
listItem.setAttribute("draggable", "true"); } }); }