|
Title: Need help with droppable Post by: y.bykov on August 03, 2017, 10:31:30 PM I use datagrid in center & east layout region. It's look like Far or TC. When I try to drag-&-drop one line on another line I have got unstable result.
For example: 1) if source line and destination line in center region it's ok; 2) if source line in east region and destination line in center region it's ok; 3) if source line and destination line in east region it's error every time, show that destination in center region, but it's in east; 4) if source line in center region and destination line in east region it's unstable behaviour, sometimes show center, sometimes east. It's look like wrong destination detection. P.S. I don't use any z-index values. Title: Re: Need help with droppable Post by: y.bykov on August 03, 2017, 11:40:20 PM More capture
Title: Re: Need help with droppable Post by: y.bykov on August 05, 2017, 02:27:09 AM I try this one http://www.jeasyui.com/forum/index.php?topic=5686.0
It's work fine when use 2 datagrids vertically, but in horizontal layout it catch error: Code: Uncaught TypeError: Cannot read property 'options' of undefined Bug with layer detection. Title: Re: Need help with droppable Post by: stworthy on August 06, 2017, 08:04:07 AM Please download the patch from https://www.jeasyui.com/download/downloads/jquery-easyui-1.5.2-patch.zip. Make sure to download the newest 'datagrid-dnd.js' file from https://www.jeasyui.com/extension/datagrid_dnd.php
Title: Re: Need help with droppable Post by: y.bykov on August 08, 2017, 05:38:01 AM Thank you!
It's fix some errors but stay unstable. Some rows can be losted when d-n-d (return to source datagrid or disappear) Title: Re: Need help with droppable Post by: stworthy on August 09, 2017, 06:12:06 AM Please look at this example http://code.reloado.com/avorob4/edit#preview. It works fine.
Title: Re: Need help with droppable Post by: y.bykov on August 09, 2017, 07:10:04 AM Thanks for help!
I think the main reason of stable work is Code: data:$.extend(true,{},data), |