Jump to content

DBGrid Drag&Drop - advanced tutorial


mhmda
 Share

Recommended Posts

  • 2 months later...
  • 3 weeks later...

assalamu alaykum,

 

A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.

Script: http://5.189.151.122:8045/ext-4.2.5.1763/ext-all.js:18

 

I get this error on your demo link.

How to: drang & drop, left to right, and same record(row) quickly rigth to left.

just let you know.

best regards

Link to comment
Share on other sites

  • 1 month later...

Dear friends!

 

The example is wonderful, but I would really need these functionality in the DBTreeGrid. It seems, some properties and events are missing there, so I can implement a proper drag & drop (within the grid, fe. exchanging rows) solution there.

Any suggestions?

Help is really welcome.

Gerhard

Link to comment
Share on other sites

Hi,

 

Can you try this approach for now ?!

 

UniDBTreeGrid -> ....

 

beforeInit:

function beforeInit(sender, config)
{
    config.viewConfig = {
        plugins: {
            ptype: 'treeviewdragdrop',
            appendOnly: true
        },
        listeners: {
            beforedrop: function(node, data, overModel, dropPos, opts) {
                console.log(arguments);
            },
            drop: function(node, data, overModel, dropPos, opts) {
                console.log(arguments);
            }

        }
    };
}

Best regards,

Link to comment
Share on other sites

  • 3 years later...
On 2/28/2017 at 10:43 AM, mhmda said:

Hello,

 

Here is a demo project showing how to drag a row from dbgrid to control (panel) or to other dbgrid.

 

Online demo here: http://5.189.151.122:8045/

 

Project here: http://3msoft.net/mhmd/uni_DBGridDragDrop.rar

 

http://3msoft.net/mhmd/drg.png

Hi dear
I cant find uni_DBGridDragDrop.rar 
may attach again ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...