URL to edit record and refresh to same spot on the report

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • In Progress
  • (Edited)
I have a table report with hundreds of records.  If I scroll down the report, let's say 2/3 of the way down, and I press the URL button to edit one of the records down there, I want it to REFRESH to the SAME SPOT on that report such that I will not have to scroll down again.  As it is, I always have to scroll down after each button press and this is painful when I am editing many records in this manner. 

I did use the following within my URL formula, and while it does refresh the page it does not go back to the same spot on the report.  In fact, it was not anywhere close to the same spot on the report. 

"javascript:" &
"$.get('" & 
$URL & 
"',function(){" &
"location.reload(true);" &
"});" 
& "void(0);"
Photo of Robin CC

Robin CC

  • 120 Points 100 badge 2x thumb

Posted 1 year ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 26,482 Points 20k badge 2x thumb
Only implemented this feature on display record pages (easy to extend to other pages). I did not implement your $.get() - only the scrolling restore on page reload.

Long Page Scroll Restore
https://haversineconsulting.quickbase.com/db/bm5kmicy4?a=dr&rid=1

Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=605