Important: Please read the Qt Code of Conduct -

Change value of a column for multiple rows in one stretch

  • Hi,

    I have an editable QSqlTableModel, the table model has multiple rows in it. May i know how to change the values of particular column in more than one rows in one stretch.
    Its like i will be able to select multiple rows of a column and input the new value, then that value will be reflected in all the selected cells.


  • There is no standard functionality that does this. You'll have to implement it yourself, in whatever way you see fit.

Log in to reply