Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to add datas in table widget with increasing the row number
Forum Update on Monday, May 27th 2025

How to add datas in table widget with increasing the row number

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt5tablewidget
2 Posts 2 Posters 241 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    deleted286
    wrote on 24 Mar 2021, 07:17 last edited by
    #1

    Hi everyone. I want to add about 150 datas into my table widget.
    I dont want to give everytime row number, i want to automatize it
    How can i do it?
    It should start to add from row 0 to the end of row count

    J 1 Reply Last reply 24 Mar 2021, 07:27
    0
    • D deleted286
      24 Mar 2021, 07:17

      Hi everyone. I want to add about 150 datas into my table widget.
      I dont want to give everytime row number, i want to automatize it
      How can i do it?
      It should start to add from row 0 to the end of row count

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 24 Mar 2021, 07:27 last edited by
      #2

      @suslucoder said in How to add datas in table widget with increasing the row number:

      It should start to add from row 0 to the end of row count

      And what is the problem? Set row count via https://doc.qt.io/qt-5/qtablewidget.html#setRowCount and add your data...

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      1/2

      24 Mar 2021, 07:17

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved