I need to get code/ tip to select or highlight multiple rows in a table from a currently selected/highlighted row. Could someone help me on this?
I need to get code/ tip to select or highlight multiple rows in a table from a currently selected/highlighted row. Could someone help me on this?
Check the QItemSelectionModel of the view.
Cheers,
_
Could you please explain with an example. I don't have any idea about this
Regards,
Joseph
Ah, it probably wasn't that obvious, but the QItemSelectionModel in the previous comment is actually a link to the Qt documentation for that class.
Which contains a link to the Qt model/View documentation, which has this section: http://doc.qt.io/qt-5/model-view-pro...-in-item-views
Cheers,
_
Bookmarks