Hello, I have used the syntax:
dataview.define(“drag”,true);
which is working, but code:
dataview.define(“drag”,false);
do nothing.
Is the syntax correct ? Could be mistake somewhere else? Usage is simple on button click.
Thank You
Hello, I have used the syntax:
dataview.define(“drag”,true);
which is working, but code:
dataview.define(“drag”,false);
do nothing.
Is the syntax correct ? Could be mistake somewhere else? Usage is simple on button click.
Thank You
Unfortunately the drag mode cannot be disabled dynamically.
Once it was enabled, it xcannot be disabled.
PLeas,e try to use the onBeforeDrag event to block the dragging in your dataview:
https://docs.dhtmlx.com/api__dhtmlxdataview_onbeforedrag_event.html
Thank You for your answer, we already did this workaround and it works as we need.