EasyUI Forum

General Category => Bug Report => Topic started by: mpage on November 03, 2014, 05:19:26 AM



Title: D&D problem in datagrid: wrong insertion position
Post by: mpage on November 03, 2014, 05:19:26 AM
Hello,
there is a bug in datagrid-dnd.js: dragged item is not inserted at the correct place in the table.

Steps to reproduce:
1. open demo file shipped with datagrid-dnd.js: datagrid-dnd.html
2. drag EST-15 and drop between EST-1 and EST-10 (choose a drop position where red insertion line is between EST-1 and EST-10 but EST-10 is highlighted)
-> EST-1 is placed one line below the intended position.

I am using JQuery-easyui 1.4.1 (occurred also with previous versions), Chrome 38, Win 7.
Best,
Michel


Title: Re: D&D problem in datagrid: wrong insertion position
Post by: jarry on November 03, 2014, 06:06:27 AM
The 'datagrid-dnd.js' file works fine. If your issue continues, please try to re-download this file from http://www.jeasyui.com/extension/datagrid_dnd.php


Title: Re: D&D problem in datagrid: wrong insertion position
Post by: mpage on November 03, 2014, 07:45:09 AM
Well, I have the latest version.

datagrid-dnd.html 2013-Sep-16
datagrid-dnd.js 2014-Oct-07
jquery.easyui.min.js v1.4.1
jquery.min.js v1.11.1

I emptied the browser cache, just to be sure.

I confirm that it is not working in Chrome and FF. See screenshots step1.png, step2.png and step3.png
However, I tested in IE 11: it is working.
M.