CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Still can't get ScrollTo to work

by Soren SDF » 08 Aug 2017 09:00

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
Soren SDF
 
Posts: 87
Joined: 19 Apr 2013 15:56

by Alexander Bulei » 09 Aug 2017 16:59

Hi Soren SDF,

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


You should call the method after the rerender.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Soren SDF » 15 Aug 2017 10:32

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

Soren.
Soren SDF
 
Posts: 87
Joined: 19 Apr 2013 15:56

by Soren SDF » 16 Aug 2017 07:39

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
Soren SDF
 
Posts: 87
Joined: 19 Apr 2013 15:56

by Alexander Bulei » 18 Aug 2017 17:38

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQMListView

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.