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 Updated to NodeBB v4.3 + New Features

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 289 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 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

    jsulmJ 1 Reply Last reply
    0
    • D deleted286

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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

      • Login

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