Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. TableView replacement for TableViewColumn in Qt Quick 2
Forum Updated to NodeBB v4.3 + New Features

TableView replacement for TableViewColumn in Qt Quick 2

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 1 Posters 628 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.
  • S Offline
    S Offline
    sandro4912
    wrote on last edited by
    #1

    Im really very confuesd.

    In Qt Quick 1 we can style different columns from a model with TableViewColumn

    TableView {
    
        anchors.fill: parent
    
        TableViewColumn {title: "1"; role: "one"; width: 70 }
        TableViewColumn {title: "2"; role: "two"; width: 70   }
        TableViewColumn {title: "3"; role: "three"; width: 70 }
    
        model: theModel
    
    }
    

    How do we do that in Qt Quick 2 if there is no more TableViewColumn ?

    Why did this not get ported to Qt Quick 2?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sandro4912
      wrote on last edited by
      #3

      An answer can be found here:

      https://stackoverflow.com/questions/64403258/tableview-replacement-for-tableviewcolumn-in-qt-quick-2

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sandro4912
        wrote on last edited by
        #2

        Nobody an idea?

        Do you still use Table View from Qt Quick 1 to manipulate single columns or is there a way in Qt Quick 2?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sandro4912
          wrote on last edited by
          #3

          An answer can be found here:

          https://stackoverflow.com/questions/64403258/tableview-replacement-for-tableviewcolumn-in-qt-quick-2

          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