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

QML TableView on Android device

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
7 Posts 2 Posters 2.0k 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.
  • C Offline
    C Offline
    CharlieG
    wrote on 11 Apr 2017, 19:40 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
    • Y Offline
      Y Offline
      Yashpal
      wrote on 12 Apr 2017, 06:30 last edited by
      #2

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

      C 1 Reply Last reply 12 Apr 2017, 07:12
      0
      • Y Yashpal
        12 Apr 2017, 06:30

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

        C Offline
        C Offline
        CharlieG
        wrote on 12 Apr 2017, 07:12 last edited by CharlieG 4 Dec 2017, 07:13
        #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"
                }
            }
        }
        
        
        Y 1 Reply Last reply 12 Apr 2017, 08:31
        0
        • C CharlieG
          12 Apr 2017, 07:12

          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"
                  }
              }
          }
          
          
          Y Offline
          Y Offline
          Yashpal
          wrote on 12 Apr 2017, 08:31 last edited by
          #4

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

          C 1 Reply Last reply 12 Apr 2017, 08:34
          0
          • Y Yashpal
            12 Apr 2017, 08:31

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

            C Offline
            C Offline
            CharlieG
            wrote on 12 Apr 2017, 08:34 last edited by
            #5

            @Yashpal Yes only Android.

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

            Y 1 Reply Last reply 12 Apr 2017, 08:36
            0
            • C CharlieG
              12 Apr 2017, 08:34

              @Yashpal Yes only Android.

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

              Y Offline
              Y Offline
              Yashpal
              wrote on 12 Apr 2017, 08:36 last edited by
              #6

              @CharlieG How about the results in older versions?

              C 1 Reply Last reply 12 Apr 2017, 08:39
              0
              • Y Yashpal
                12 Apr 2017, 08:36

                @CharlieG How about the results in older versions?

                C Offline
                C Offline
                CharlieG
                wrote on 12 Apr 2017, 08:39 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

                1/7

                11 Apr 2017, 19:40

                • Login

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