Nominate our 2022 Qt Champions!

Change in one cell of QTableWidget reflecting for the column.

  • Hi,
    I have created a table using Qtablewidget of 8 col n 9 rows. Now im stuck with a problem that how do i make 7th column cells as one....i mean if i change the data in 1st cell of 7th column it should be reflected/copied to below following cells.

    Can anbody help me with that?

    Thank you in advance.

  • Lifetime Qt Champion


    You can connect to the dataChanged signal and update the other cells of the column based on the content of the first one.

    Hope it helps

Log in to reply