Check documentation for the latest version 6.0 of dhtmlxSuite enableMercyDrag DHTMLX Docs

enableMercyDrag

enables drag without removing (copy instead of move)

void enableMercyDrag(boolean mode);

Parameters

modebooleanenable/disable mode

Available only in PRO Edition

Example

//enable mercy drag
myGrid.enableMercyDrag(true);
//disable mercy drag
myGrid.enableMercyDrag(false);

Back to top