QTableView select rows with cell merged
I have a QTableView and i have merged some cells.
When i click on an item, i want to select all merge rows.
When i click on the merged cell, i get what i want :
But when i click on unmerged cell i get this :
How can i set the selection on the both rows ?
EDIT : i forgot to say that i'm in single selction mode and row selection mode.
Hi and thx for reply,
No i haven't seen this topic.
I will take a look at it but i don't want the user to be able to select multiple rows.
I want to consider rows with merged cells as a signle row.