QTableView *tableViewWidget;
int from;

I want to make tableViewWidget scroll down to show the row such that 'from' is the first row displayed.

I've tried all of the following over the last half hour, without success

Qt Code:
  1. tableViewWidget->showRow(from);
  2. tableViewWidget->selectRow(from);
  3. QModelIndex modelIndex = tableViewWidget->indexAt(QPoint(0,from));
  4. tableViewWidget->scrollTo(modelIndex);
To copy to clipboard, switch view to plain text mode 

I traced through scrollTo, and it works (the index is valid). But the view doesn't update.

I appreciate any help.