Programmatically select a table row

If the table is connected to a dataset, try:

$w.onReady(function() {
$w("#dataset1").onReady(() => {
$w("#myTable").selectRow(5);
})
});

Also make sure you have a least 6 rows in the table.