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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...