I have a table components in a Perspective View. The data property is bound to a tag with dataset data type. There is a button in the same View which creates a new row in an SQL table. When the row added successfully to the table it calls the tag refresh function. This function gets the table from SQL and writes to the tag. As the tag is bound with the table data property, the table shows updated table with the new row.
When the table grows the newly added row is at the bottom of the table and hidden by the scroll viewport. So it needs to be scrolled down.
Question: is there a correct way to set the selection so it scrolls to the selected row?
I tried so far to set table.selection.selectedRow but it doesn't scroll down.