Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt6.2 TableView and ItemSelectionModel - Row / Column Selection Modes?



  • Hi there,

    is there an equivalent of the good 'ol widgets'

    ui->tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
    ui->tableView->setSelectionMode(QAbstractItemView::MultiSelection);
    

    to be used with the ItemSelectionModel, SelectionRectangle and a TableView to be used from QML?

    Best,
    Denis


Log in to reply