Jump to content

Recommended Posts

  • 2 months later...
Posted

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.

  • 3 weeks later...
  • 2 years later...
Posted
On 8/27/2018 at 9:31 AM, Sherzod said:

OK I will check and let you know

How do I put these properties at runtime?

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

Posted
31 minutes ago, herculanojs said:

How do I put these properties at runtime?

First of all, have you tried using this code in the desingtime for validation?

  • 10 months later...
Posted
15 minutes ago, jahlxx said:

Some way to make overflow-x  to work?

 

On 8/27/2018 at 6:08 PM, Sherzod said:

If it's not difficul, make a simple testcase

 

Posted
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

 

 

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