mika Posted March 27, 2017 Share Posted March 27, 2017 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 Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted March 27, 2017 Administrators Share Posted March 27, 2017 Have you tried ServerModule->ExtLocale? Quote Link to comment Share on other sites More sharing options...
mika Posted March 27, 2017 Author Share Posted March 27, 2017 No i haven't. I will try to that. Thank you. Quote Link to comment Share on other sites More sharing options...
mika Posted March 27, 2017 Author Share Posted March 27, 2017 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. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 28, 2017 Share Posted March 28, 2017 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. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted March 28, 2017 Administrators Share Posted March 28, 2017 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 Quote Link to comment Share on other sites More sharing options...
mika Posted March 28, 2017 Author Share Posted March 28, 2017 I'm not even sure how I could have missed ExtLocale in MainModule. Thank you both for your help. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted March 28, 2017 Administrators Share Posted March 28, 2017 I'm not even sure how I could have missed ExtLocale in MainModule. Thank you both for your help. Actually, we added it recently past month to allow per-session localization. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.