Jump to content

how to enable scroll bar in tunitreemenu


Wilton Ergon

Recommended Posts

  • 2 months later...

I have just taken the treemenu demo.

 

added some items to check the verticla scroll, and some items with a large caption to ckeck horizontal scroll

 

and this in client evebts of treemenu:

 

function treeMenu.afterCreate(sender)
{
  sender.el.setStyle('overflow-y', 'auto');
  sender.el.setStyle('overflow-x', 'auto');  
}

 

vertical works, but horizontal not.

 

if you still need a test case, let me know.

 

thanks.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 years later...
  • 10 months later...
On 8/27/2018 at 3:28 PM, jahlxx said:

I have just taken the treemenu demo.

 

added some items to check the verticla scroll, and some items with a large caption to ckeck horizontal scroll

 

and this in client evebts of treemenu:

 

function treeMenu.afterCreate(sender)
{
  sender.el.setStyle('overflow-y', 'auto');
  sender.el.setStyle('overflow-x', 'auto');  
}

 

vertical works, but horizontal not.

 

if you still need a test case, let me know.

 

thanks.

 

This was my answer more than 3 years ago

 

 

Link to comment
Share on other sites

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