Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rachel H. on Aug 22, 2009 21:02
open dhtmlx forum
Drag Text behavior in Firefox 3

Hello,

I'm having a problem with my grid in firefox 3. I'm using grid 2.1

What happens is that I drag and drop a row in my grid.

After I unclick my mouse, the drag text stays until I click my mouse again. It doesn't work like that in IE.

Here is my code:

myGrid = new dhtmlXGridObject('recip-grid');
myGrid.setSkin("pc");
myGrid.setImagePath("/media/dhtmlx/dhtmlxGrid/codebase/imgs/");
myGrid.enableAutoWidth(true, null, 670);
myGrid.enableAutoHeight(true,400,false);

myGrid.enablePaging(true,10,null,"pagingArea",true,"recip-grid");
myGrid.setPagingSkin("bricks");

// Drag and Drop
myGrid.enableDragAndDrop(true);
myGrid.attachEvent("onDrop", handleDrop);
myGrid.setDragText("Drag this row to change the order in which contacts are rotated to this person.");

loadGrid();

function loadGrid()
{
myGrid.loadXML("/xmlgen/rotator/recipient_grid?rotator_id=" + rotator_id);
}


Please help!
Answer posted by dhxSupport on Aug 24, 2009 03:38
Unfortunately we cannot reproduce this issue locally. Can you please provide us full example where we can reproduce it including all files which you are using to initialize grid. Please send this example directly to the support@dhtmlx.com
Answer posted by Rachel H. on Aug 24, 2009 07:56

Turns out that I had named my paging area div incorrectly.  Was strange that that was the resulting behaviour, but ultimately I guess it was my fault :)

Thanks!