53
Views
4
Comments
Freeze scroll for ListBox/ListRecords Widgets after data deletion

Hi Everyone,


I'm having trouble finding solution in the auto scroll to top of lists when deleting a record. I want it stay the same/freeze so I don't have to scroll down again to delete data.

2018-10-29 08-31-03
João Marques
 
MVP

Hi Miguel,


Can you share the screenshot of your screen action triggered when deleting a row?

You are likely refreshing the query binded to the table after deleting the record, causing the refresh of the whole table and the scroll again. You could instead use the ListRemove action (you can get its dependency from System) to remove the row from the list, causing minimal impact on the screen and avoiding the scroll.

Your delete action should then be something like this:


Kind regards,
João

UserImage.jpg
Miguel Azer Adefuin

From what I've been reading, javascript is the main solution. Thank you for this info though!

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP
UserImage.jpg
Poonam Verma

Hi Miguel,


Auto-scroll is happing because probably refreshing the aggregate. For to stop auto-scroll don't refresh the screen data, For reference, you can refer attached oml. 



Freeze scroll for ListRecords.oap
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.