mierlp Posted April 8, 2021 Share Posted April 8, 2021 Hi Is it possible to have the scrollbar functionality within a treemenu BUT NOT have the scrollbar visible My treemenu has a lot of items/submenu's so the scroll function has to work without showing the scrollbar Regards Peter Quote Link to comment Share on other sites More sharing options...
mierlp Posted April 10, 2021 Author Share Posted April 10, 2021 OR...if it's easier...how make it transparant ? I prefer not visible but need scroll functionality. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 11, 2021 Share Posted April 11, 2021 19 hours ago, mierlp said: OR...if it's easier...how make it transparant ? I prefer not visible but need scroll functionality. Hello, Also, you can try to use this technique: 1 Quote Link to comment Share on other sites More sharing options...
mierlp Posted April 11, 2021 Author Share Posted April 11, 2021 Hi Sherzod, Does not work...with this code the application doesn't start up anymore. When i disable/mark-out the code in afterrender, mouse-over,mouse-out the application start. Quote Link to comment Share on other sites More sharing options...
Pep Posted April 12, 2021 Share Posted April 12, 2021 Hello, If it helps, I tested this code in my app it worked. Quote Link to comment Share on other sites More sharing options...
mierlp Posted April 12, 2021 Author Share Posted April 12, 2021 On a Treemenu ? Quote Link to comment Share on other sites More sharing options...
Pep Posted April 13, 2021 Share Posted April 13, 2021 😌 Sorry I got confused, in a TuniTreeView it works fine Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 13, 2021 Share Posted April 13, 2021 On 4/12/2021 at 12:39 AM, mierlp said: Does not work...with this code the application doesn't start up anymore. When i disable/mark-out the code in afterrender, mouse-over,mouse-out the application start. Try this code: function afterCreate(sender) { var me = sender; me.addListener('mouseout', function() { me.treeMenu.getEl().setStyle('overflow', 'hidden') }); me.addListener('mouseover', function() { me.treeMenu.getEl().setStyle('overflow', 'auto') }); } Quote Link to comment Share on other sites More sharing options...
mierlp Posted April 13, 2021 Author Share Posted April 13, 2021 Thank you @Sherzod this works fine for me 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.