Important: Please read the Qt Code of Conduct -

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

  • 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

  • There is already a thread for this.

Log in to reply