I have looked through the post in an effort to try to find a solution, but nothing gave me what I was lkooking for. I have a QTableView with a QSqlTable as its model. I want to disable columns for entry in the view and cannot find a solution with regard QTableView, only QTableWidget. Can someone provide a small sample code of how to do this. Thank you in advance.