I have QTableView and what I DONT want is when you click on the column header Entire column gets selected similarly if you click on row header entire row gets selected. How can I prevent this.
I want to do single and multi selection but only through mouse click on table view cells not by clicking on row/column header to select all the row or column.
I tried using selectionMode and selectionBehavior but non of seems to work.
Please help need any code snippet or any hint which can help me achieving my goal
If you don't want anything to happen when you click on the header you could use "setclickable":http://qt-project.org/doc/qt-4.8/qheaderview.html#setClickable