Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by lee kh on Oct 07, 2008 01:13
open dhtmlx forum
how can i remove the line when i grid drag.....

when i drag & drop a row to other grid,
the row have a line.

i don't need this line.
i just want to move the row to other grid
like the drag and drop sample on this site...

please help ...


Answer posted by Support on Oct 07, 2008 02:00
The drag-n-drop can work in different mode ( setDragBehavior )
In child mode - position marked by highlighted row, in child or sibling mode - position marked by horizontal line. 
You can't fully remove line, but you can made it invisible. 

In dhtmlxgrid.css
.gridDragLine{
  position:absolute;
  top:10px; left:0px;
  width:100%;
  height:2px; //change to 0
  background-color:black; 
  overflow:hidden;
}