x11 Posted April 7, 2021 Share Posted April 7, 2021 Как перевести на другой язык пункты Lock и UnLock? Спасибо. Quote Link to comment Share on other sites More sharing options...
x11 Posted April 7, 2021 Author Share Posted April 7, 2021 нашел lockText/unlockText https://docs.sencha.com/extjs/6.6.0/classic/Ext.grid.locking.Lockable.html#cfg-lockText function beforeInit(sender, config) { config.lockText = 'Зафіксувати'; config.unlockText = 'Відкл.'; } но все равно вижу старые значения Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 7, 2021 Share Posted April 7, 2021 42 minutes ago, x11 said: но все равно вижу старые значения Сейчас проверю. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 7, 2021 Share Posted April 7, 2021 1 hour ago, x11 said: function beforeInit(sender, config) { config.lockText = 'Зафіксувати'; config.unlockText = 'Відкл.'; } UniDBGrid -> ClientEvents ? Quote Link to comment Share on other sites More sharing options...
x11 Posted April 7, 2021 Author Share Posted April 7, 2021 Извиняюсь, моя ошибка. Неправильное имя файла указал, в котором был скрипт. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 7, 2021 Share Posted April 7, 2021 Ok np Quote Link to comment Share on other sites More sharing options...
x11 Posted January 25, 2022 Author Share Posted January 25, 2022 On 4/7/2021 at 7:43 PM, Sherzod said: UniDBGrid -> ClientEvents ? Подскажите, что я делаю не так? Мне нужно увеличить расстояние между кнопками Вот код: function beforeInit(sender, config) { //config.multiColumnSort = true; config.lockText = 'Закріпити'; config.unlockText = 'Відкріпити'; //увеличить расстояние между кнопками config.header = { defaults: { width: 20 } }; } в консоли браузера появляется ошибка: JS Error: missing } after property list Спасибо. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 25, 2022 Share Posted January 25, 2022 Добрый день, Кажется ошибка в другом месте. Quote Link to comment Share on other sites More sharing options...
x11 Posted January 25, 2022 Author Share Posted January 25, 2022 да, действительно, поторопился задать вопрос... все норм 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.