Drag & Drop on Grid Header

Hi,



As I can inteceptar the line and column (target) from Tree to Grid. In header of grid?



Best regards,



CHW

In order to get the position of dropped item in grid, you can use onDrag event handler. The second parameter of this function is target row id. And also you can use mygrid.dragContext.tExtra approach to get column index.
If item is dropped on header, the target id will be null:

mygrid.attachEvent(“onDrag”,function(sid,tid){
      
    var rowId = tid;
    var columnIndex = mygrid.dragContext.tExtra;
    if(!rowId){
          //your code here;
     }          
    return true
})