Jump to content

uniscrollbox scrollto coordinate


Vision

Recommended Posts

Hi 

i need to scroll a scroll box to a specific cohordinate like 

UniSession.AddJS(UniScrollBox1.JSName+'.getTargetEl().scrollTo("100,100");'); but do not work.

I'm just able to scroll tob bottom and so on with UniSession.AddJS(UniScrollBox1.JSName+'.getTargetEl().scrollTo("bottom");');

in sencha doc I founded 

scroller.scrollTo(100, 100);

but not work with 

UniSession.AddJS(UniScrollBox1.JSName+'.getTargetEl().scroller.scrollTo(100, 100););

image.thumb.png.1453ff246963a8c52123142f76fab515.png

Tnks for help

 

Link to comment
Share on other sites

Find!

UniSession.AddJS(UniScrollBox1.JSName+'.getTargetEl().scrollTo("top");');
UniSession.AddJS(UniScrollBox1.JSName+'.getTargetEl().scrollTo("left");');
UniSession.AddJS(UniScrollBox1.JSName+'.getTargetEl().scrollBy('+(UniEdit1.Text)+', '+(UniEdit2.Text)+', false);');

Now I'm a guru :lol:

Link to comment
Share on other sites

  • 8 months later...

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