G-Srikanth / dragtable

Automatically exported from code.google.com/p/dragtable
0 stars 0 forks source link

Drag and Drop inconsistent on Horizantal scrolling Tables. #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a horizontal draggable wide table.
2. enable dragging on this table

What is the expected output? What do you see instead?
Dragging and drop should work normally, however the behaviour is
inconsistent. These are the two observed phenomenon.

1) Scrolling to the extreme right corner and dragging and droping columns
there causes the extreme left columns to swap.
2) Dragging a column causes the floating column to suddenly bloat up.

What version of the product are you using? On what operating system?
Version : dragtable v1.0  June 26, 2008
OS : Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by saspid...@gmail.com on 5 Sep 2008 at 6:07

GoogleCodeExporter commented 9 years ago
I'm having a similar issue- dragtable v1.0 in Firefox.

If the table is wide enough that I have to scroll, and I try to select one of 
the far
right columns, instead of selecting my chosen column, for some reason it grabs a
different column

Original comment by thereneg...@gmail.com on 6 Dec 2008 at 12:55

GoogleCodeExporter commented 9 years ago
I had the same problem... I fixed it by updating the following function

eventPosition: function(event) {
    var x, y;
    if (dragtable.browser.isIE) {
      x = window.event.clientX + document.documentElement.scrollLeft
        + document.body.scrollLeft;
      y = window.event.clientY + document.documentElement.scrollTop
        + document.body.scrollTop;
      return {x: x, y: y};
    }
    return {x: event.pageX + document.getElementById(DIVTHATSCROLLS).scrollLeft, y: 
event.pageY};
  },

Original comment by darianbj...@gmail.com on 17 Feb 2009 at 8:54

GoogleCodeExporter commented 9 years ago
I am not able to reproduce this issue.

The large table in the demo.html file
(http://code.google.com/p/dragtable/source/browse/trunk/demo.html) is designed 
to
test exactly this behavior. I tried scrolling all the way to the right and 
grabbing
the rightmost column. This worked correctly in FF3.5 and IE8.

Could either of you point me to a page that reproduces this problem?

Original comment by danvdk on 30 Jun 2009 at 9:32

GoogleCodeExporter commented 9 years ago
From the demo.html file, take the large table and wrap in inside this tag:

<div style="width:700px;overflow:scroll"></div>

Scroll to the right and drag column 20.  Instead of column 20, it will pick up 
column 
13.

Original comment by radioact...@gmail.com on 2 Feb 2010 at 3:16

GoogleCodeExporter commented 9 years ago
I have the same problem as referenced in Comment 4.  Can this issue be moved 
from "invalid" to "open" status?

Original comment by cheshe...@gmail.com on 10 Jun 2011 at 7:34

GoogleCodeExporter commented 9 years ago
I have the same problem as referenced in Comment 4.
can someone help please?

Original comment by B.Rumme...@gmail.com on 7 Dec 2011 at 10:54