Jump to content

UniDBGrid DragDrop tooltip


mika

Recommended Posts

I can't find a way to change tooltip displayed by UniDBGrid when dragging and dropping rows inside grid. "1 selected row" is displayed but i have to be able to change it because our software is localized to few different languages.

 

I guess there are some fairly simple way of doing this by directly calling ExtJS but thus far I haven't found a way to do it. Help would be greatly appreciated.

 

-- Mika

Link to comment
Share on other sites

Hi,

 

Can you try this approach for now ?!:

 

UniDBGrid -> ClientEvents -> ExtEvents -> beforerender fn:

function beforerender(sender, eOpts)
{
    var ddplugin = sender.getView().findPlugin('gridviewdragdrop');
    if (ddplugin) {
        ddplugin.dragText = "{0} Selected Row{1}";
    };
}

Best regards.

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.

×
×
  • Create New...