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 can I turn off auto sorting of QTableWidget?

How can I turn off auto sorting of QTableWidget?

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 1.9k 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.
  • A Offline
    A Offline
    Aaron Kim
    wrote on last edited by
    #1
    This post is deleted!
    RatzzR 1 Reply Last reply
    0
    • A Aaron Kim

      This post is deleted!

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #2

      @Aaron-Kim said in How can I turn off auto sorting of QTableWidget?:

      myTableWidget->sortingEnabled(false)

      By default sortingEnabled is false. Did you enable it and then trying to disable?

      --Alles ist gut.

      1 Reply Last reply
      2
      • A Offline
        A Offline
        Aaron Kim
        wrote on last edited by
        #3

        @Ratzz No, I only add myTableWidget->sortingEnabled(false)

        RatzzR 1 Reply Last reply
        0
        • A Aaron Kim

          @Ratzz No, I only add myTableWidget->sortingEnabled(false)

          RatzzR Offline
          RatzzR Offline
          Ratzz
          wrote on last edited by
          #4

          @Aaron-Kim said in How can I turn off auto sorting of QTableWidget?:

          No, I only add

          Can you show the code ?

          --Alles ist gut.

          A 1 Reply Last reply
          1
          • RatzzR Ratzz

            @Aaron-Kim said in How can I turn off auto sorting of QTableWidget?:

            No, I only add

            Can you show the code ?

            A Offline
            A Offline
            Aaron Kim
            wrote on last edited by
            #5

            @Ratzz Sorry, the problem didn't have something to do with sorting. It was my mistake! :)

            RatzzR 1 Reply Last reply
            0
            • A Aaron Kim

              @Ratzz Sorry, the problem didn't have something to do with sorting. It was my mistake! :)

              RatzzR Offline
              RatzzR Offline
              Ratzz
              wrote on last edited by
              #6

              @Aaron-Kim

              Please mark topic as solved :)

              --Alles ist gut.

              1 Reply Last reply
              1

              • Login

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