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

rowToDragElement

redefine this method in your code to specify how grid row values should be displayed during the dragging

void rowToDragElement(string|number id);

Parameters

idstring|numberthe id of the grid's row

Example

myGrid.rowToDragElement=function(id){
    //your code here
 
    // prepare a text string
    var text = "<img src = 'some.gif'> - "+myGrid.cells(id,0).getValue(); 
    return text;
}

Back to top