Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Unsolved TableView: Anyone enabled something like snapMode: GridView.SnapToRow with a TableView

    QML and Qt Quick
    2
    3
    104
    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.
    • R
      rhb327 last edited by rhb327

      I'm using the newer TableView:

      import QtQuick 2.12
      import Qt.labs.qmlmodels 1.0
      import QtQuick.Controls 2.12

      I'm curious if I can enable something like the GridView snapToRow setting with a TableView. Each of my rows could have a custom height so a simple modulo based calculation will not work.

      Thanks,
      -Rich

      JonB 1 Reply Last reply Reply Quote 0
      • JonB
        JonB @rhb327 last edited by JonB

        @rhb327
        This is a QML question, you might get better answers if you posted it in the QML sub-forum than here.

        1 Reply Last reply Reply Quote 0
        • R
          rhb327 last edited by

          Thanks, I will try that. @Moderator, please close this one as I will move to a more appropriate forum.

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