Jump to content

Recommended Posts

Posted

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

Posted

It just occured to me. If I change ExtLocale in ServerModule, it will affect all users, right? If so, I can't use that as a solution because software must be translated and localized per user.

Posted

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.

  • Administrators
Posted

It just occured to me. If I change ExtLocale in ServerModule, it will affect all users, right? If so, I can't use that as a solution because software must be translated and localized per user.

There is also ExtLocale in MainModule

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...