QTableView, force committing data



  • Hi,
    I would like to force the current cell to commit data (during editing) from my code.
    I see QTableView has commiData() and closeEditor() functions, but I don't understand how to retrieve which editor is currently open.



  • Fixed by myself changing the currentIndex when needed. I do not have the control to commit or discard data, but it's a workaround I might accept at the moment.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.