Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by mtyson on Sep 20, 2009 11:33
open dhtmlx forum
Drag and Drop enabled, onRowSelect

(especially IE) in a grid with drag and drop enabled, the onRowSelect event will not be fired if a row is clicked and then dragged to an invalid target. This occurs a lot when a user clicks in a grid and drags within the grid. The drag returns a false and the onRowSelect handler is never executed.
Answer posted by dhxSupport on Sep 23, 2009 03:22
onRowSelect event fired only after simple row selection. This event isn't fired if you are dragging row, event if you are dragging it to the incorrect target. To catch moment of starting drag-n-drop you can use "onBeforeDrag" event. Please find more information here 
http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:event_onbeforedrag
http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:events