Hi.,
i am using QTableView. it's working fine. but the problem is if i double click the cell then it's change into edit mode. i need to disable the edit option. How to do that. please help me to find the solution.
Hi.,
i am using QTableView. it's working fine. but the problem is if i double click the cell then it's change into edit mode. i need to disable the edit option. How to do that. please help me to find the solution.
Use
QTableView table(...);
table.setEditTriggers(QAbstractView::NoEditTriggers);