QPASHIK Posted November 4, 2020 Share Posted November 4, 2020 Как включить в UniTreeView горизонтальную прокрутку? Использую лицензионную последнюю версию. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 4, 2020 Share Posted November 4, 2020 1 hour ago, QPASHIK said: Как включить в UniTreeView горизонтальную прокрутку? Здравствуйте, Попробуйте этот код: function afterlayout(sender, layout, eOpts) { sender.getView().setStyle('overflow', 'auto'); } Quote Link to comment Share on other sites More sharing options...
QPASHIK Posted November 4, 2020 Author Share Posted November 4, 2020 Спасибо, все работает! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 4, 2020 Share Posted November 4, 2020 ОК, отлично! Quote Link to comment Share on other sites More sharing options...
x11 Posted November 4, 2020 Share Posted November 4, 2020 6 hours ago, Sherzod said: Попробуйте этот код: Уважаемые разработчики, а почему вы не хотите сделать, чтобы это работало без вышеуказанного кода? То же самое касается и TunimScrollBox, где тоже приходится использовать подобный костыль. QPASHIK, прокрутка у Вас тоже не будет работать нормально в TunimScrollBox, поэтому сразу используйте этот код: ClientEvents.ExtEvents.pained function painted(sender, eOpts) { sender.bodyElement.dom.setAttribute('style', 'overflow-y:auto !important'); sender.bodyElement.select('.x-dock .x-dock-vertical').setStyle('overflow-y', 'auto'); } Quote Link to comment Share on other sites More sharing options...
QPASHIK Posted November 4, 2020 Author Share Posted November 4, 2020 Спасибо! 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.