Hello,

If, due to logic, I select a row in my table the selected row is not automaticaly scrolled to the visible area of the TableView.

Qt Code:
  1. // Get model index based on markerId
  2. QModelIndexList indexList (m_markerProjectionModel->match (m_markerProjectionModel->index (0,0), Qt::DisplayRole, markerId, 1, Qt::MatchExactly));
  3. if (1 == indexList.count ())
  4. {
  5. m_markersProjectionTableView->selectRow (indexList [0].row ());
  6. }
To copy to clipboard, switch view to plain text mode 

How can I get the selected item always visible in the visible area?

regards,

Marcel