Jump to content

Recommended Posts

  • 2 months later...
  • 3 weeks later...
  • 1 month later...
Posted

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

Posted

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,

  • 3 years later...

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.

×
×
  • Create New...