If the selection is set programmatically in a table-like component (tl:TableComponent, tl:GridComponent or tl:TreeTableComponent), e.g. via the partner group, it is not always ensured that the selection is displayed in the user's viewport.
This currently works by chance in TreeGrids and TreeTables, for example, if the selection is assigned a node that has not yet been expanded and is automatically expanded upon selection. The expansion adds new rows to the table and sends a corresponding "insert event". There is a table listener in the tl:TableControl(TableControl#handleTableModelEvent), which executes a requestRepaint when an insert is made. This redraws the tl:Control and adjusts the viewport.
There is currently no logic that adjusts the viewport incrementally if the rows of the table remain the same and only the selection has changed.
Test
Switch to the Technical demo > Components > Tables and trees view. There, the selection field for the respective component is configured as a partner group for the component above it, which therefore shares its selection. By changing the values in the selection field, you can check whether the viewport is adjusted correctly.