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. Qt Table widget sorting problem(empty rows coming on top even after disabling and enabling after populating!!!
Qt 6.11 is out! See what's new in the release blog

Qt Table widget sorting problem(empty rows coming on top even after disabling and enabling after populating!!!

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 656 Views 1 Watching
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    Hello guys, While sorting the table widget items, while ascending the empty rows are coming at the top.The data is dynamically updated to the table items.

    The table items are constructed in the constructor with empty cells, and in my other method i take the input data from a struct and feed to he table, the data's keep changing. I tried to disable the sorting before feeding and then enabling it, but the sort is not working properly, some rows are empty and its getting stuck and its getting populated very slowly.
    Please any suggestions or solution will be appreciated. Thank You

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      There is already a thread for this.

      1 Reply Last reply
      0

      • Login

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