I have a portal in a popover that is used to select line items. A button is clicked in the portal row, then the script leaves the context, goes to the line table, adds the data, and returns to the header table. When returning, I open up the popover again so the user can continue to add items to the line table.
The problem is that the selected port falls to the bottom of the visible portal row set. In the images below, the select item starts at the 9th portal row (PRE SELECTION) but after creating the line item, it falls to the last visible portal row (POST SELECTION). Is there any way to keep the portal at its original row (in this example, the 9th row)?