This topic is locked
[SOLVED]

List Page "Scroll to row"

7/20/2022 3:26:31 PM
PHPRunner General questions
J
jaffleck author

When returning from an edit or view page to the list page, you are always sent back to the top of the list page. Is there a way to return to (i.e. scroll to) the record in the list page you just loaded in the edit/view page?

[PHPRunner 10.8]

Admin 7/20/2022

This is possible with the help of some custom coding. You will need to lisyen to scroll event, save the current page position in cookies and set that initial position after user returns from another page.

Admin 7/22/2022

We just posted an article that explains how to achieve this in your projects.

A
asawyer13DevClub member 7/24/2022

I tried using the code that's in the Blog but it's not working for me.

I sent the project to Xlinesoft, so hopefully they can take a look and tell me what I'm doing wrong, or if they can send me a working project I can try to see what I'm doing wrong, or what option I'm using that is causing an issue with the code.

Alan

J
jaffleck author 7/26/2022

The approach in the blog worked great for me. Thanks!