EasyUI Forum
May 15, 2024, 10:16:48 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Bug Report / Re: D&D problem in datagrid: wrong insertion position 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.

2  General Category / Bug Report / D&D problem in datagrid: wrong insertion position 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
3  General Category / EasyUI for jQuery / datagrid: multiple adjacent selection on: October 15, 2014, 12:13:47 PM
is there a way to have multiple adjacent selection with Shift+click in a datagrid ?
4  General Category / EasyUI for jQuery / Re: Drag&Drop with iframes on: October 30, 2013, 01:48:40 PM
Thanks for your reply.
Ok, I guess I was not clear: my goal is precisely to drop a tree node onto an iframe.
I found a solution that avoids using an iframe: instead I load the tab content with an Ajax call and the problem is solved.
Michel
5  General Category / EasyUI for jQuery / Drag&Drop with iframes on: October 29, 2013, 09:42:00 AM
Hello,
 I have an easyUI made of:
- a left region containing a tree
- a center panel containing tabs. Each tab content is put inside an iframe (with same domain).
I do not succeed to drag tree nodes and drop them onto the iframe in the center region. It works if the tab panel does not contain an iframe.

Below is the structure of my code :
Code:
<body class="easyui-layout">
   <div data-options="region:'west',split:true" style="width:250px;padding:10px;">
      <ul id="tt" class="easyui-tree" data-options="data: someJson, animate: true, onLoadSuccess: prepareDrag"></ul>
   </div>
   <div class="easyui-droppable" data-options="region:'center', accept: '.tree-title',  onDrop: handleDrop">
      <div id="tabs" class="easyui-tabs" style=""> </div>
   </div>
   
<script>
      function prepareDrag(node, data) {
         $('.tree-title').draggable({
            disabled: false,
            revert: true,
            proxy: myProxy,
            ...
         });
      }
      function handleDrop(e, source){
         console.log(' dropped');
      }
   <script>
</body>

What's going wrong ?
Thanks for your help.
Michel
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!