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. QML TableView on Android device
Qt 6.11 is out! See what's new in the release blog

QML TableView on Android device

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
7 Posts 2 Posters 2.8k 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.
  • CharlieGC Offline
    CharlieGC Offline
    CharlieG
    wrote on last edited by
    #1

    Hi,

    I notice that the horizontal scrolling of TableView doesn't work on my Android device. Have you this issues too ?

    Bye

    Charlie

    1 Reply Last reply
    0
    • YashpalY Offline
      YashpalY Offline
      Yashpal
      wrote on last edited by
      #2

      @CharlieG Can you put piece of code for the same?

      CharlieGC 1 Reply Last reply
      0
      • YashpalY Yashpal

        @CharlieG Can you put piece of code for the same?

        CharlieGC Offline
        CharlieGC Offline
        CharlieG
        wrote on last edited by CharlieG
        #3

        Hello @Yashpal,

        I have this problem with this code :

        import QtQuick 2.7
        import QtQuick.Controls 1.4
        import QtQuick.Layouts 1.1
        import QtQuick.Window 2.2
        
        
        ApplicationWindow {
            visible: true
            width: Screen.width < 1280 ? Screen.width : 1280
            height: Screen.height < 800 ? Screen.heght : 800
        
        
            TableView {
                anchors.fill: parent
                TableViewColumn {
                    title: "Col1"
                }
                TableViewColumn {
                    title: "Col2"
                }
                TableViewColumn {
                    title: "Col3"
                }
                TableViewColumn {
                    title: "Col4"
                }
                TableViewColumn {
                    title: "Col5"
                }
                TableViewColumn {
                    title: "Col16"
                }
                TableViewColumn {
                    title: "Col7"
                }
                TableViewColumn {
                    title: "Col8"
                }
                TableViewColumn {
                    title: "Col9"
                }
                TableViewColumn {
                    title: "Col10"
                }
            }
        }
        
        
        YashpalY 1 Reply Last reply
        0
        • CharlieGC CharlieG

          Hello @Yashpal,

          I have this problem with this code :

          import QtQuick 2.7
          import QtQuick.Controls 1.4
          import QtQuick.Layouts 1.1
          import QtQuick.Window 2.2
          
          
          ApplicationWindow {
              visible: true
              width: Screen.width < 1280 ? Screen.width : 1280
              height: Screen.height < 800 ? Screen.heght : 800
          
          
              TableView {
                  anchors.fill: parent
                  TableViewColumn {
                      title: "Col1"
                  }
                  TableViewColumn {
                      title: "Col2"
                  }
                  TableViewColumn {
                      title: "Col3"
                  }
                  TableViewColumn {
                      title: "Col4"
                  }
                  TableViewColumn {
                      title: "Col5"
                  }
                  TableViewColumn {
                      title: "Col16"
                  }
                  TableViewColumn {
                      title: "Col7"
                  }
                  TableViewColumn {
                      title: "Col8"
                  }
                  TableViewColumn {
                      title: "Col9"
                  }
                  TableViewColumn {
                      title: "Col10"
                  }
              }
          }
          
          
          YashpalY Offline
          YashpalY Offline
          Yashpal
          wrote on last edited by
          #4

          @CharlieG strange, I see the same problem only on android.

          CharlieGC 1 Reply Last reply
          0
          • YashpalY Yashpal

            @CharlieG strange, I see the same problem only on android.

            CharlieGC Offline
            CharlieGC Offline
            CharlieG
            wrote on last edited by
            #5

            @Yashpal Yes only Android.

            I tried with Qt5.8 and Qt5.9... same problem

            YashpalY 1 Reply Last reply
            0
            • CharlieGC CharlieG

              @Yashpal Yes only Android.

              I tried with Qt5.8 and Qt5.9... same problem

              YashpalY Offline
              YashpalY Offline
              Yashpal
              wrote on last edited by
              #6

              @CharlieG How about the results in older versions?

              CharlieGC 1 Reply Last reply
              0
              • YashpalY Yashpal

                @CharlieG How about the results in older versions?

                CharlieGC Offline
                CharlieGC Offline
                CharlieG
                wrote on last edited by
                #7

                @Yashpal
                Unfortunatly I don't know. I only have 5.8 and 5.9.

                I post in bug report : https://bugreports.qt.io/browse/QTBUG-60125

                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