Restrict Mouse Movement to single column in a QTableView
I have a tableView and i wanted to restrict the mouse movement to a single column.
Scenario : By mousepressed and dragging i should be able to select cells in the same column only . Should not be allowed to move to another column by mousepressed and dragging.
May i know how to do this?