Page 1 of 1

Still can't get ScrollTo to work

PostPosted: 08 Aug 2017 09:00
by Soren SDF
Hi guys.

Just updated to IW 14.1.14 and version 3.5.0.231.
I still can't get ScrollTo to do what i expect. I click an item to edit some data and when i rerender the list i wan't to position myself on the clicked item. The ScrollTo method seems to run but it doesn't do anything that i can see. When should the scrollto get triggered? In the forms AfterRender event or some other place?

T.I.A
Soren A

Re: Still can't get ScrollTo to work

PostPosted: 09 Aug 2017 16:59
by Alexander Bulei
Hi Soren SDF,

...and when i rerender the list...


You should call the method after the rerender.

Best Regards.

Re: Still can't get ScrollTo to work

PostPosted: 15 Aug 2017 10:32
by Soren SDF
What event should i use to trigger it? The forms OnAfterRender or some other one?

Soren.

Re: Still can't get ScrollTo to work

PostPosted: 16 Aug 2017 07:39
by Soren SDF
Hi again.

I managed to get it to trigger with a TIWTimer so that's sorted. However my test department wants me to tell you it seems to work in all browsers except for Firefox.

S

Re: Still can't get ScrollTo to work

PostPosted: 18 Aug 2017 17:38
by Alexander Bulei
Hi Soren SDF,

Well, I'm glad that you found the solution...but:

What event should i use to trigger it? The forms OnAfterRender or some other one?


You should call the method after the rerender.


After your AjaxReRender.

Best Regards.