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

QAbstractTableModel column hide

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 346 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.
  • I Offline
    I Offline
    IknowQT
    wrote on last edited by
    #1

    fe3e7f2a-d1bd-4a70-8139-44c416befd65-image.png

    I am developing a frozen table view.
    The table view is linked with the chart using QAbstractTableModel.

    Added frozen tableview to tableview. Because they use the same model, the data appears redundant.

    Looks like I need to remove the first line or make it visible(false).
    How can I solve this?

    I 1 Reply Last reply
    0
    • I IknowQT

      fe3e7f2a-d1bd-4a70-8139-44c416befd65-image.png

      I am developing a frozen table view.
      The table view is linked with the chart using QAbstractTableModel.

      Added frozen tableview to tableview. Because they use the same model, the data appears redundant.

      Looks like I need to remove the first line or make it visible(false).
      How can I solve this?

      I Offline
      I Offline
      IknowQT
      wrote on last edited by
      #2

      @IknowQT said in QAbstractTableModel column hide:

      fe3e7f2a-d1bd-4a70-8139-44c416befd65-image.png

      I am developing a frozen table view.
      The table view is linked with the chart using QAbstractTableModel.

      Added frozen tableview to tableview. Because they use the same model, the data appears redundant.

      Looks like I need to remove the first line or make it visible(false).
      How can I solve this?

      ================================================================================

      cef158ed-f055-4a5a-8ebe-3605f9e293b1-image.png

      Tried the other way and the problem I was talking about solved.
      However, it is updated with the value of the row I clicked.

      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