Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by CHW on Jun 24, 2008 17:47
open dhtmlx forum
Get line header in drag & drop

Hi,

Feel tracks where I should alter the code to obtain the line of the header. The column is OK.

Which the routine?

My problem:"
Test in www.envision.com.br (english options), open "Sales" e choice "Categories".

I want, after opening the explorer, to drag and drop the "product" (in "Data of the product") in the header, in the year 2001 (for sample).
Or "Customer" (In "Customer's data") In any year of the header.

Regards,

CHW
Answer posted by Support on Jun 25, 2008 02:56
You can check the dhtmlXGridObject.prototype._drag ( dhtmlxgrid_drag.js ) , this method receives exact HTML container in which element was droped.

dhtmlXGridObject.prototype._drag=function(sourceHtmlObject,dhtmlObject,targetHtmlObject,lastLanding){

lastLanding - html object under mouse pointer in moment of drop.