Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

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

    General and Desktop
    2
    2
    369
    Loading More Posts
    • 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.
    • ?
      A Former User last edited by A Former User

      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 Reply Quote 0
      • ?
        A Former User last edited by

        There is already a thread for this.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post