i have a create object button and a list view to show the associated object and everytime the create button is clicked the page jumps to the top since it have refresh object activity in the microflow if i remove the refresh object entity then the new line will not be added in the list view howto handle it
Perhaps these can offer you a solution;
1. Refresh the Parent Entity instead of the Created ObjectThe;
page jumps to the top because the microflow is refreshing the newly created object, which causes the whole ListView to re-render and resets the scroll position.Instead of refreshing the created child object, refresh the parent entity that the ListView is based on.Mendix will update the ListView incrementally without forcing the page to reload, so the scroll position stays intact.This is the most stable and recommended approach.
2. Move the Create logic to a Nanoflow;
If your create button triggers a microflow, switching it to a nanoflow avoids a full page refresh in the browser.Nanoflows perform client-side refreshes that do not rebuild the page DOM, so the scroll position is preserved.You can still create the object, commit it, and refresh it inside the nanoflow without causing the page to jump.